aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-vxlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-vxlan.c')
-rw-r--r--epan/dissectors/packet-vxlan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-vxlan.c b/epan/dissectors/packet-vxlan.c
index dcb20bb8a4..fd7239513a 100644
--- a/epan/dissectors/packet-vxlan.c
+++ b/epan/dissectors/packet-vxlan.c
@@ -306,8 +306,8 @@ proto_reg_handoff_vxlan(void)
vxlan_handle = create_dissector_handle(dissect_vxlan, proto_vxlan);
vxlan_gpe_handle = create_dissector_handle(dissect_vxlan_gpe, proto_vxlan_gpe);
- dissector_add_uint("udp.port", UDP_PORT_VXLAN, vxlan_handle);
- dissector_add_uint("udp.port", UDP_PORT_VXLAN_GPE, vxlan_gpe_handle);
+ dissector_add_uint_with_preference("udp.port", UDP_PORT_VXLAN, vxlan_handle);
+ dissector_add_uint_with_preference("udp.port", UDP_PORT_VXLAN_GPE, vxlan_gpe_handle);
}
/*