Change instance of 0xCAFE to ETHERTYPE_LLT for consistency. No functional
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 6 Nov 2007 05:06:31 +0000 (05:06 +0000)
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 6 Nov 2007 05:06:31 +0000 (05:06 +0000)
changes.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23370 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-llt.c

index a23c2c8818c7b7399d36964addfe1ffc55a4cbe2..71780c57a1336fdb7268f76055d4c7f3cb99d363 100644 (file)
@@ -156,7 +156,7 @@ proto_reg_handoff_llt(void)
        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 */