summaryrefslogtreecommitdiff
path: root/lib/agentx.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-04-04 20:04:07 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-04-04 20:04:07 +0200
commit422f8d0ca9745a16b1f46710c621fc9f98200bcf (patch)
tree24e91ad38adfd824c624a4a46889e6102b913225 /lib/agentx.c
parentb394fc99bc4b555aa3c78521439b28f1ff8886ef (diff)
parentb3cfe637a66a5de00c72125f5fa051155ccb4a29 (diff)
Merge branch 'master'
Diffstat (limited to 'lib/agentx.c')
-rw-r--r--lib/agentx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/agentx.c b/lib/agentx.c
index 4175e7ba92..11d5c9385d 100644
--- a/lib/agentx.c
+++ b/lib/agentx.c
@@ -21,7 +21,7 @@
#include <zebra.h>
-#if defined HAVE_SNMP && defined SNMP_AGENTX
+#ifdef SNMP_AGENTX
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>
#include <net-snmp/agent/net-snmp-agent-includes.h>
@@ -315,4 +315,4 @@ smux_trap (struct variable *vp, size_t vp_len,
return 1;
}
-#endif /* HAVE_SNMP */
+#endif /* SNMP_AGENTX */