changes.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23370
f5534014-38df-0310-8fa8-
9805f1628bb7
llt_handle = create_dissector_handle(dissect_llt, proto_llt);
dissector_add("ethertype", ETHERTYPE_LLT, llt_handle);
- if((preference_alternate_ethertype != 0xCAFE)
+ if((preference_alternate_ethertype != ETHERTYPE_LLT)
&& (preference_alternate_ethertype != 0x0)){
dissector_delete("ethertype", preference_alternate_ethertype_last, llt_handle);
preference_alternate_ethertype_last = preference_alternate_ethertype; /* Save the setting to see if it has changed later */