Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-users: [Ethereal-users] Re: updated net-snmp/ethereal patch

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

From: Wes Hardaker <wjhns36@xxxxxxxxxxxxx>
Date: Thu, 24 Oct 2002 15:13:48 -0700
>>>>> On Thu, 24 Oct 2002 00:16:31 -0700, Guy Harris <gharris@xxxxxxxxx> said:

Guy> I wrapped the stuff to get the header file to get the SNMP
Guy> version in #ifdef HAVE_SOME_SNMP/#endif, and made it include
Guy> <net-snmp/version.h> if HAVE_NET_SNMP is defined (as, otherwise,
Guy> "netsnmp_get_version()" isn't declared).

Ok.  netsnmp_get_version() should always be there even if the header
is not (but it should always be there on a fully installed system).

Guy> (We only support UCD SNMP versions that have
Guy> "sprint_realloc_objid()"; do those versions all install
Guy> <ucd-snmp/version.h>?

Yes.

Guy> I included <net-snmp/config_api.h> in "packet-snmp.c" if we're
Guy> using Net-SNMP, to declare "read_premib_configs()" and
Guy> "read_configs()".

kay.

Guy> With those changes, it built on my machine.

cool!

-- 
Wes Hardaker
Network Associates Laboratories