pkgsrc/net/net-snmp/patches/patch-dk

16 lines
466 B
Text

$NetBSD: patch-dk,v 1.1 2006/03/19 22:03:29 joerg Exp $
--- agent/mibgroup/mibII/ip.c.orig 2006-03-19 19:56:46.000000000 +0000
+++ agent/mibgroup/mibII/ip.c
@@ -201,6 +201,11 @@ long ipTTL, oldipTTL;
#define USES_TRADITIONAL_IPSTAT
#endif
+#ifdef dragonfly
+#define IP_STAT_STRUCTURE struct ip_stats
+#define USES_TRADITIONAL_IPSTAT
+#endif
+
#if !defined(IP_STAT_STRUCTURE)
#define IP_STAT_STRUCTURE struct ipstat
#define USES_TRADITIONAL_IPSTAT