summaryrefslogtreecommitdiffstats
path: root/lib/snmp.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-06-12 17:52:50 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-03-25 08:52:36 +0100
commit5986b66b82d2c8a15c9467032d912be07481f07d (patch)
tree500817709850f882497bfc820dd2d0ed3c247f92 /lib/snmp.c
parent*: use hooks for sending SNMP traps (diff)
downloadfrr-5986b66b82d2c8a15c9467032d912be07481f07d.tar.xz
frr-5986b66b82d2c8a15c9467032d912be07481f07d.zip
*: snmp: convert into modules
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/snmp.c')
-rw-r--r--lib/snmp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/snmp.c b/lib/snmp.c
index f6f9845e2..1cbd41c72 100644
--- a/lib/snmp.c
+++ b/lib/snmp.c
@@ -21,7 +21,6 @@
#include <zebra.h>
-#ifdef HAVE_SNMP
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>
@@ -130,4 +129,3 @@ smux_header_table (struct variable *v, oid *name, size_t *length, int exact,
return MATCH_SUCCEEDED;
}
-#endif /* HAVE_SNMP */