blob: fd09a9c04c660028e5de4549f00be72699e826e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-ai,v 1.4 2008/06/05 19:09:41 christos Exp $
--- agent/mibgroup/mibII/ip.c.orig 2008-06-05 13:45:21.000000000 -0400
+++ agent/mibgroup/mibII/ip.c 2008-06-04 19:36:30.000000000 -0400
@@ -217,6 +217,13 @@
#define USES_TRADITIONAL_IPSTAT
#endif
+#ifdef IP_NSTATS
+typedef struct ipstat {
+ uint64_t st[IP_NSTATS];
+};
+#define IP_STAT_STRUCTURE struct ipstat
+#endif
+
#if !defined(IP_STAT_STRUCTURE)
#define IP_STAT_STRUCTURE struct ipstat
#define USES_TRADITIONAL_IPSTAT
|