openbsd-ports/net/quagga/patches/patch-ospfd_ospf_snmp_c
danh 7a537a525f convert snmp FLAVOR to use net-snmp.
I do not see how this worked in the first place without smux support.
2004-10-13 03:10:49 +00:00

21 lines
495 B
Plaintext

$OpenBSD: patch-ospfd_ospf_snmp_c,v 1.1 2004/10/13 03:10:49 danh Exp $
--- ospfd/ospf_snmp.c.orig Mon Sep 29 12:59:43 2003
+++ ospfd/ospf_snmp.c Tue Oct 12 22:52:24 2004
@@ -24,12 +24,14 @@
#include <zebra.h>
#ifdef HAVE_SNMP
-#ifdef HAVE_NETSNMP
+#ifdef HAVE_NET_SNMP
#include <net-snmp/net-snmp-config.h>
-#endif
+#include <net-snmp/net-snmp-includes.h>
+#else
#include <asn1.h>
#include <snmp.h>
#include <snmp_impl.h>
+#endif /* HAVE_NET_SNMP */
#include "if.h"
#include "log.h"