aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-llt.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2007-11-06 05:06:31 +0000
committerStephen Fisher <steve@stephen-fisher.com>2007-11-06 05:06:31 +0000
commit46e6e9ea0f205debe56a8ab71a12646f46d33a1a (patch)
tree2c0778f88fbd6494b5f74b092182e90e456a2b64 /epan/dissectors/packet-llt.c
parent3c9a7b9dcd476eb98cab0e416544091ae3fa80d4 (diff)
Change instance of 0xCAFE to ETHERTYPE_LLT for consistency. No functional
changes. svn path=/trunk/; revision=23370
Diffstat (limited to 'epan/dissectors/packet-llt.c')
-rw-r--r--epan/dissectors/packet-llt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-llt.c b/epan/dissectors/packet-llt.c
index a23c2c8818..71780c57a1 100644
--- a/epan/dissectors/packet-llt.c
+++ b/epan/dissectors/packet-llt.c
@@ -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 */