diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-11-05 21:43:05 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-11-05 21:43:05 +0000 |
commit | 73cb352109a4a67172d890a2f64ee15364b47ce4 (patch) | |
tree | eb62fbc8ce2a0c42d013db5e296935bdb39ea850 /asn1/x2ap | |
parent | 249e0fa95a2ded9b85a4a74890e49379ab4067ea (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.c | 2 |
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" } |