diff options
author | Jörg Mayer <jmayer@loplof.de> | 2007-12-14 14:58:28 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2007-12-14 14:58:28 +0000 |
commit | 6869154121e004146946cd12a9e89760e13a041c (patch) | |
tree | 3b4ff5ad8ee0148821514b5165dae60491c9e83f /asn1 | |
parent | 14141c32750869b0e53837d13b31df19105ceafa (diff) |
If we implement new style dissectors, register them as such.
svn path=/trunk/; revision=23861
Diffstat (limited to 'asn1')
-rw-r--r-- | asn1/h282/packet-h282-template.c | 4 | ||||
-rw-r--r-- | asn1/h283/packet-h283-template.c | 2 | ||||
-rw-r--r-- | asn1/h501/packet-h501-template.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/asn1/h282/packet-h282-template.c b/asn1/h282/packet-h282-template.c index ef1733e3ee..3b21ecf0ba 100644 --- a/asn1/h282/packet-h282-template.c +++ b/asn1/h282/packet-h282-template.c @@ -93,8 +93,8 @@ void proto_register_h282(void) { proto_register_field_array(proto_h282, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - register_dissector(PFNAME, dissect_h282, proto_h282); - register_dissector(PFNAME".device_list", dissect_NonCollapsingCapabilities_PDU, proto_h282); + new_register_dissector(PFNAME, dissect_h282, proto_h282); + new_register_dissector(PFNAME".device_list", dissect_NonCollapsingCapabilities_PDU, proto_h282); } diff --git a/asn1/h283/packet-h283-template.c b/asn1/h283/packet-h283-template.c index c47ad76836..62fddfd443 100644 --- a/asn1/h283/packet-h283-template.c +++ b/asn1/h283/packet-h283-template.c @@ -101,7 +101,7 @@ void proto_register_h283(void) { proto_register_field_array(proto_h283, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - register_dissector(PFNAME, dissect_h283_udp, proto_h283); + new_register_dissector(PFNAME, dissect_h283_udp, proto_h283); h283_udp_handle = find_dissector(PFNAME); } diff --git a/asn1/h501/packet-h501-template.c b/asn1/h501/packet-h501-template.c index 49a77c313b..4c40ecf868 100644 --- a/asn1/h501/packet-h501-template.c +++ b/asn1/h501/packet-h501-template.c @@ -123,7 +123,7 @@ void proto_register_h501(void) { proto_register_field_array(proto_h501, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - register_dissector(PFNAME, dissect_h501_pdu, proto_h501); + new_register_dissector(PFNAME, dissect_h501_pdu, proto_h501); h501_pdu_handle = find_dissector(PFNAME); h501_udp_handle = new_create_dissector_handle(dissect_h501_udp, proto_h501); |