aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-sync.c')
-rw-r--r--epan/dissectors/packet-sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sync.c b/epan/dissectors/packet-sync.c
index 4a33e2619d..80a7b2dd94 100644
--- a/epan/dissectors/packet-sync.c
+++ b/epan/dissectors/packet-sync.c
@@ -303,7 +303,7 @@ proto_register_sync(void)
void
proto_reg_handoff_sync(void)
{
- ip_handle = find_dissector("ip");
+ ip_handle = find_dissector_add_dependency("ip", proto_sync);
dissector_add_for_decode_as("udp.port", sync_handle);
}