aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pathport.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-pathport.c')
-rw-r--r--epan/dissectors/packet-pathport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-pathport.c b/epan/dissectors/packet-pathport.c
index 23b57eca31..fa57b4debc 100644
--- a/epan/dissectors/packet-pathport.c
+++ b/epan/dissectors/packet-pathport.c
@@ -26,7 +26,7 @@
#include <epan/to_str.h>
-#define PATHPORT_UDP_PORT 3792
+#define PATHPORT_UDP_PORT 3792 /* Not IANA registered */
#define PATHPORT_MIN_LENGTH 24 /* HEADER + 1 PDU */
#define PATHPORT_PROTO_MAGIC 0xed01
@@ -696,7 +696,7 @@ proto_reg_handoff_pathport(void)
pathport_handle = create_dissector_handle(dissect_pathport, proto_pathport);
heur_dissector_add("udp", dissect_pathport_heur, "Pathport over UDP", "pathport_udp", proto_pathport, HEURISTIC_ENABLE);
- dissector_add_uint("udp.port", PATHPORT_UDP_PORT, pathport_handle);
+ dissector_add_uint_with_preference("udp.port", PATHPORT_UDP_PORT, pathport_handle);
}
/*