19 lines
473 B
Plaintext
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
|