Ethereal-dev: RE: [Ethereal-dev] Request to add function name 'dissect_snmp_pdu ' tolibethere

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Guy Harris" <gharris@xxxxxxxxx>
Date: Tue, 12 Oct 2004 13:45:55 -0700 (PDT)
Liu Chunfang-CCL083 said:
> I've tried the way to use "call_dissector()" to call snmp dissector in my
> dissector. But it does not work. Because packet-snmp.c reigster routine
> use "create_dissector_handle(dissect_snmp, proto_snmp)" to register(create
> an anonymous handle for a dissector).

The version in Ethereal 0.10.6 does, but the current version in SVN (which
will be in the next release) calls "register_dissector("snmp",
dissect_snmp, proto_snmp);".

> Or someone can change packet-snmp.c to register
> snmp dissector using routine register_dissector().

That was done by Tomas Kukosa in late September 2004.