aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-simple.c')
-rw-r--r--epan/dissectors/packet-simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-simple.c b/epan/dissectors/packet-simple.c
index 71035bfdb3..396efb2ef0 100644
--- a/epan/dissectors/packet-simple.c
+++ b/epan/dissectors/packet-simple.c
@@ -686,7 +686,7 @@ void proto_reg_handoff_simple(void)
dissector_handle_t simple_dissector_handle;
simple_dissector_handle = create_dissector_handle(dissect_simple, proto_simple);
dissector_add_for_decode_as("udp.port", simple_dissector_handle);
- dissector_add_for_decode_as("tcp.port", simple_dissector_handle);
+ dissector_add_for_decode_as_with_preference("tcp.port", simple_dissector_handle);
link16_handle = find_dissector_add_dependency("link16", proto_simple);
}