aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/x2ap
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-11-05 21:43:05 +0000
committerBill Meier <wmeier@newsguy.com>2008-11-05 21:43:05 +0000
commit73cb352109a4a67172d890a2f64ee15364b47ce4 (patch)
treeeb62fbc8ce2a0c42d013db5e296935bdb39ea850 /asn1/x2ap
parent249e0fa95a2ded9b85a4a74890e49379ab4067ea (diff)
Don't register to SCTP port 0: use dissector_add_handle instead
svn path=/trunk/; revision=26703
Diffstat (limited to 'asn1/x2ap')
-rw-r--r--asn1/x2ap/packet-x2ap-template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/x2ap/packet-x2ap-template.c b/asn1/x2ap/packet-x2ap-template.c
index 32e9b31c4c..bac91e9b85 100644
--- a/asn1/x2ap/packet-x2ap-template.c
+++ b/asn1/x2ap/packet-x2ap-template.c
@@ -173,7 +173,7 @@ proto_reg_handoff_x2ap(void)
dissector_handle_t x2ap_handle;
x2ap_handle = find_dissector("x2ap");
- dissector_add("sctp.port", 0, x2ap_handle);
+ dissector_add_handle("sctp.port", x2ap_handle); /* for "decode-as" */
#include "packet-x2ap-dis-tab.c"
}