diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-06-28 10:34:15 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-06-28 10:34:15 +0000 |
commit | 8246e874320aa13700d4c98ece43c229fb1ab1e6 (patch) | |
tree | 29097179034a4938937e938416e8d36703774e7f /asn1/snmp | |
parent | 342fc4cfb427e48abc57fb8b7e8dbfb338f724d4 (diff) |
Moved register_ber_syntax_dissector() and register_ber_oid_syntax() from
proto_reg_handoff_* to proto_register_*.
svn path=/trunk/; revision=33345
Diffstat (limited to 'asn1/snmp')
-rw-r--r-- | asn1/snmp/packet-snmp-template.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/asn1/snmp/packet-snmp-template.c b/asn1/snmp/packet-snmp-template.c index f85e17e373..f3def88c23 100644 --- a/asn1/snmp/packet-snmp-template.c +++ b/asn1/snmp/packet-snmp-template.c @@ -2178,6 +2178,7 @@ void proto_register_snmp(void) { register_init_routine(renew_ue_cache); + register_ber_syntax_dissector("SNMP", proto_snmp, dissect_snmp_tcp); } @@ -2201,8 +2202,6 @@ void proto_reg_handoff_snmp(void) { data_handle = find_dissector("data"); - register_ber_syntax_dissector("SNMP", proto_snmp, dissect_snmp_tcp); - /* * Process preference settings. * |