pkgsrc/net/net-snmp/patches/patch-dk
adam daec5add6c Changes 5.4:
- The default configuration now enables embedded Perl and the Perl
  modules by default when possible unless explicitly disabled. You
  may use the --disable-embedded-perl and --without-perl-modules
  configure options, respectively, to revert to the former default
  configuration.
2007-02-05 12:06:16 +00:00

16 lines
465 B
Text

$NetBSD: patch-dk,v 1.2 2007/02/05 12:06:16 adam Exp $
--- agent/mibgroup/mibII/ip.c.orig 2006-09-15 02:48:40.000000000 +0200
+++ agent/mibgroup/mibII/ip.c
@@ -212,6 +212,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