aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-08-03 14:49:34 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-08-03 14:49:34 +0000
commitdd7f28464974daa83c629fd7e0ff6ea25d384ceb (patch)
tree65f539dc96aa557bfa5271450ace626859701f91
parent0ee7136b4ba128e846f80448744b06f9e1be69ba (diff)
Fixed #ifdef to call proto_register_snmp properly when SNMP is compiled in.
svn path=/trunk/; revision=424
-rw-r--r--proto.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/proto.c b/proto.c
index 7c06f0c687..ddb48b3dde 100644
--- a/proto.c
+++ b/proto.c
@@ -1,7 +1,7 @@
/* proto.c
* Routines for protocol tree
*
- * $Id: proto.c,v 1.8 1999/08/02 02:04:27 guy Exp $
+ * $Id: proto.c,v 1.9 1999/08/03 14:49:34 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -63,6 +63,12 @@
#define cVALS(x) (const value_string*)(x)
+#if defined(HAVE_UCD_SNMP_SNMP_H)
+ #define WITH_SNMP_UCD 1
+#elif defined(HAVE_SNMP_SNMP_H)
+ #define WITH_SNMP_CMU 1
+#endif
+
static void
proto_tree_free_node(GNode *node, gpointer data);