Update a comment to reflect that only UCD SNMP 4.1.1 has

"snmp_set_full_objid()" as a macro rather than a function - 4.1.2 has it
as a function again.

svn path=/trunk/; revision=1995
This commit is contained in:
Guy Harris 2000-05-24 05:59:50 +00:00
parent b23955a89b
commit a12762b431
1 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
* Routines for SNMP (simple network management protocol)
* D.Jorand (c) 1998
*
* $Id: packet-snmp.c,v 1.33 2000/05/19 07:00:04 guy Exp $
* $Id: packet-snmp.c,v 1.34 2000/05/24 05:59:50 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -66,10 +66,10 @@
# include <ucd-snmp/mib.h>
/*
* Sigh. UCD SNMP 4.1[.x] makes "snmp_set_full_objid()" a macro
* Sigh. UCD SNMP 4.1.1 makes "snmp_set_full_objid()" a macro
* that calls "ds_set_boolean()" with the first two arguments
* being DS_LIBRARY_ID and DS_LIB_PRINT_FULL_OID; this means that,
* when building with 4.1[.x], we need to arrange that
* when building with 4.1.1, we need to arrange that
* <ucd-snmp/default_store.h> is included, to define those two values
* and to declare "ds_set_boolean()".
*