diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-02-27 19:39:48 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-02-27 19:39:48 +0000 |
commit | f75a4d1d87773e09f315a031a6ba9cab8a66df87 (patch) | |
tree | 96953ec5a77db8f1509ee988a30502fc7b9e1704 /packet-snmp.c | |
parent | 2a50f8af4f18dab44ee5414aa2c47fef3ab18e9d (diff) | |
download | wireshark-f75a4d1d87773e09f315a031a6ba9cab8a66df87.tar.gz wireshark-f75a4d1d87773e09f315a031a6ba9cab8a66df87.tar.bz2 wireshark-f75a4d1d87773e09f315a031a6ba9cab8a66df87.zip |
Do a better job of #ifdef'ing out 3 variables in the case of non-UCD-SNMP
and linux.
svn path=/trunk/; revision=3081
Diffstat (limited to 'packet-snmp.c')
-rw-r--r-- | packet-snmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-snmp.c b/packet-snmp.c index 79a2c13323..2d7d614c5f 100644 --- a/packet-snmp.c +++ b/packet-snmp.c @@ -8,7 +8,7 @@ * * See RFCs 1905, 1906, 1909, and 1910 for SNMPv2u. * - * $Id: packet-snmp.c,v 1.59 2001/01/30 07:16:28 guy Exp $ + * $Id: packet-snmp.c,v 1.60 2001/02/27 19:39:48 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -2123,7 +2123,7 @@ dissect_smux(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) void proto_register_snmp(void) { -#ifdef linux +#if defined(HAVE_UCD_SNMP_SNMP_H) && defined(linux) void *libsnmp_handle; int (*snmp_set_suffix_only_p)(int); int (*ds_set_int_p)(int, int, int); |