aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-echo.c')
-rw-r--r--epan/dissectors/packet-echo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-echo.c b/epan/dissectors/packet-echo.c
index a6aa6bb59e..591c8811ee 100644
--- a/epan/dissectors/packet-echo.c
+++ b/epan/dissectors/packet-echo.c
@@ -114,7 +114,7 @@ void proto_reg_handoff_echo(void)
echo_handle = create_dissector_handle(dissect_echo, proto_echo);
- dissector_add_uint("udp.port", ECHO_PORT, echo_handle);
+ dissector_add_uint_with_preference("udp.port", ECHO_PORT, echo_handle);
dissector_add_uint_with_preference("tcp.port", ECHO_PORT, echo_handle);
}