summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/snmp/snmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c
index ab3668cacf..09f97307f7 100644
--- a/ext/snmp/snmp.c
+++ b/ext/snmp/snmp.c
@@ -118,7 +118,7 @@
#endif
/* For net-snmp prior to 5.4 */
-//#ifndef HAVE_SHUTDOWN_SNMP_LOGGING
+#ifndef HAVE_SHUTDOWN_SNMP_LOGGING
extern netsnmp_log_handler *logh_head;
#define shutdown_snmp_logging() \
{ \
@@ -126,7 +126,7 @@ extern netsnmp_log_handler *logh_head;
while(NULL != logh_head) \
netsnmp_remove_loghandler( logh_head ); \
}
-//#endif
+#endif
/* For really old ucd-snmp versions.. */
#ifndef HAVE_SNMP_PARSE_OID