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 /epan/dissectors | |
parent | 14141c32750869b0e53837d13b31df19105ceafa (diff) |
If we implement new style dissectors, register them as such.
svn path=/trunk/; revision=23861
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-h282.c | 6 | ||||
-rw-r--r-- | epan/dissectors/packet-h283.c | 4 | ||||
-rw-r--r-- | epan/dissectors/packet-h501.c | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-h282.c b/epan/dissectors/packet-h282.c index 81dec444bd..90bcc0723b 100644 --- a/epan/dissectors/packet-h282.c +++ b/epan/dissectors/packet-h282.c @@ -1,7 +1,7 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-h282.c */ -/* ../../tools/asn2wrs.py -p h282 -c h282.cnf -s packet-h282-template RDC-PROTOCOL.asn */ +/* ../../../svn/trunk/tools/asn2wrs.py -p h282 -c ../../../svn/trunk/asn1/h282/h282.cnf -s ../../../svn/trunk/asn1/h282/packet-h282-template -D ../../../svn/trunk/asn1/h282 RDC-PROTOCOL.asn */ /* Input file: packet-h282-template.c */ @@ -6385,8 +6385,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/epan/dissectors/packet-h283.c b/epan/dissectors/packet-h283.c index 9a3cd4df27..567c43fb12 100644 --- a/epan/dissectors/packet-h283.c +++ b/epan/dissectors/packet-h283.c @@ -1,7 +1,7 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-h283.c */ -/* ../../tools/asn2wrs.py -p h283 -c h283.cnf -s packet-h283-template LCT-PROTOCOL.asn */ +/* ../../../svn/trunk/tools/asn2wrs.py -p h283 -c ../../../svn/trunk/asn1/h283/h283.cnf -s ../../../svn/trunk/asn1/h283/packet-h283-template -D ../../../svn/trunk/asn1/h283 LCT-PROTOCOL.asn */ /* Input file: packet-h283-template.c */ @@ -766,7 +766,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/epan/dissectors/packet-h501.c b/epan/dissectors/packet-h501.c index 366b897869..fef28cd15e 100644 --- a/epan/dissectors/packet-h501.c +++ b/epan/dissectors/packet-h501.c @@ -1,7 +1,7 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-h501.c */ -/* ../../tools/asn2wrs.py -p h501 -c h501.cnf -s packet-h501-template H501-MESSAGES.asn */ +/* ../../../svn/trunk/tools/asn2wrs.py -p h501 -c ../../../svn/trunk/asn1/h501/h501.cnf -s ../../../svn/trunk/asn1/h501/packet-h501-template -D ../../../svn/trunk/asn1/h501 H501-MESSAGES.asn */ /* Input file: packet-h501-template.c */ @@ -3689,7 +3689,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); |