diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-05-15 08:02:39 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-05-15 08:02:39 +0000 |
commit | 9d92bf4eeb0ee6dfe7add0e88632eacac205feb3 (patch) | |
tree | 9e38ac994858ac4c2582952841575ab841461d2c /packet-snmp.c | |
parent | 06ba8a87c2b9e56d9ee41e39702396e674eb44c9 (diff) | |
download | wireshark-9d92bf4eeb0ee6dfe7add0e88632eacac205feb3.tar.gz wireshark-9d92bf4eeb0ee6dfe7add0e88632eacac205feb3.tar.bz2 wireshark-9d92bf4eeb0ee6dfe7add0e88632eacac205feb3.zip |
Fix a botch that kept it from compiling if you didn't have an SNMP
library.
svn path=/trunk/; revision=1964
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 d98162d0dd..750df12480 100644 --- a/packet-snmp.c +++ b/packet-snmp.c @@ -2,7 +2,7 @@ * Routines for SNMP (simple network management protocol) * D.Jorand (c) 1998 * - * $Id: packet-snmp.c,v 1.31 2000/05/15 03:15:11 guy Exp $ + * $Id: packet-snmp.c,v 1.32 2000/05/15 08:02:39 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -1139,7 +1139,7 @@ dissect_common_pdu(const u_char *pd, int offset, frame_data *fd, oid_string, vb_oid_string); #else - proto_tree_add_text(snmp_tree, NullTVB, offset, sequence_length, + proto_tree_add_text(tree, NullTVB, offset, sequence_length, "Object identifier %d: %s", vb_index, oid_string); #endif |