pkgsrc/net/net-snmp/patches/patch-aa
jlam 5ae966807d Initial import of net-snmp-5.0.6 as net/net-snmp. This package is based
on net/net-snmp-current and on the FreeBSD net-snmp port, and may be
considered as an update to ucd-snmp.  Changes since ucd-snmp include:

	* complete rewrite of the agent internals
	* new agent module API
	* SNMPv3
	* improved AgentX subagent handling
	* many, many bugfixes in plugged memory leaks
	* prevent DoS attacks from authenticated users
2002-10-24 08:29:33 +00:00

15 lines
330 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2002/10/24 08:29:34 jlam Exp $
--- agent/snmp_agent.c.orig Sat Oct 5 16:41:58 2002
+++ agent/snmp_agent.c
@@ -69,6 +69,10 @@ SOFTWARE.
#include <dmalloc.h>
#endif
+#if HAVE_SYSLOG_H
+#include <syslog.h>
+#endif
+
#ifdef USE_LIBWRAP
#include <tcpd.h>
int allow_severity = LOG_INFO;