Files
pkgsrc-ng/net/net-snmp/patches/patch-ak
2013-09-26 17:14:40 +02:00

19 lines
473 B
Plaintext

$NetBSD: patch-ak,v 1.6 2013/03/17 00:15:29 gdt Exp $
--- agent/mibgroup/mibII/icmp.c.orig 2012-10-09 22:28:58.000000000 +0000
+++ agent/mibgroup/mibII/icmp.c
@@ -621,6 +621,13 @@ bail:
#define USES_TRADITIONAL_ICMPSTAT
#endif
+#ifdef ICMP_NSTATS
+struct icmpstat {
+ uint64_t st[ICMP_NSTATS];
+};
+#define ICMP_STAT_STRUCTURE struct icmpstat
+#endif
+
#if !defined(ICMP_STAT_STRUCTURE)
#define ICMP_STAT_STRUCTURE struct icmpstat
#define USES_TRADITIONAL_ICMPSTAT