From dd7f28464974daa83c629fd7e0ff6ea25d384ceb Mon Sep 17 00:00:00 2001 From: Gilbert Ramirez Date: Tue, 3 Aug 1999 14:49:34 +0000 Subject: Fixed #ifdef to call proto_register_snmp properly when SNMP is compiled in. svn path=/trunk/; revision=424 --- proto.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 @@ -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); -- cgit v1.2.3