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/h501 | |
parent | 14141c32750869b0e53837d13b31df19105ceafa (diff) |
If we implement new style dissectors, register them as such.
svn path=/trunk/; revision=23861
Diffstat (limited to 'asn1/h501')
-rw-r--r-- | asn1/h501/packet-h501-template.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |