summaryrefslogtreecommitdiff
path: root/net/net-snmp/patches/patch-dl
blob: 3f006cdf9cc4791ad78ecb8ba43aed390a99dbda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-dl,v 1.3 2007/02/05 12:06:16 adam Exp $

--- agent/mibgroup/mibII/tcp.c.orig	2006-09-15 02:48:40.000000000 +0200
+++ agent/mibgroup/mibII/tcp.c
@@ -177,6 +177,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