aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-rx.c')
-rw-r--r--epan/dissectors/packet-rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rx.c b/epan/dissectors/packet-rx.c
index b225101c8f..0d514b9022 100644
--- a/epan/dissectors/packet-rx.c
+++ b/epan/dissectors/packet-rx.c
@@ -760,7 +760,7 @@ proto_reg_handoff_rx(void)
/*
* Get handle for the AFS dissector.
*/
- afs_handle = find_dissector("afs");
+ afs_handle = find_dissector_add_dependency("afs", proto_rx);
/* Ports in the range UDP_PORT_RX_LOW to UDP_PORT_RX_HIGH
are all used for various AFS services. */