summaryrefslogtreecommitdiff
path: root/net/net-snmp/patches/patch-dl
blob: 4796fd9d55d42d83e02f2c3194664e0d68378fd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-dl,v 1.1 2006/03/19 22:03:29 joerg Exp $

--- agent/mibgroup/mibII/tcp.c.orig	2006-03-19 20:03:42.000000000 +0000
+++ agent/mibgroup/mibII/tcp.c
@@ -169,6 +169,11 @@ init_tcp(void)
 #define USES_TRADITIONAL_TCPSTAT
 #endif
 
+#ifdef dragonfly
+#define TCP_STAT_STRUCTURE	struct tcp_stats
+#define USES_TRADITIONAL_TCPSTAT
+#endif
+
 #if !defined(TCP_STAT_STRUCTURE)
 #define TCP_STAT_STRUCTURE	struct tcpstat
 #define USES_TRADITIONAL_TCPSTAT