aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ethertype.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-ethertype.c')
-rw-r--r--epan/dissectors/packet-ethertype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ethertype.c b/epan/dissectors/packet-ethertype.c
index eb717f9bef..d19e24c7fc 100644
--- a/epan/dissectors/packet-ethertype.c
+++ b/epan/dissectors/packet-ethertype.c
@@ -256,7 +256,7 @@ ethertype(guint16 etype, tvbuff_t *tvb, int offset_after_etype,
saved_proto = pinfo->current_proto;
pd_save = pinfo->private_data;
TRY {
- dissector_found = dissector_try_port(ethertype_dissector_table,
+ dissector_found = dissector_try_uint(ethertype_dissector_table,
etype, next_tvb, pinfo, tree);
}
CATCH(BoundsError) {