Ticket #2061: patch-agent-mibgroup-mibII-tcpTable.c

File patch-agent-mibgroup-mibII-tcpTable.c, 353 bytes (added by opendarwin.org@…, 20 years ago)

file to add to net/net-snmp/files

Line 
1--- agent/mibgroup/mibII/tcpTable.c.orig        Tue Jul 13 13:10:11 2004
2+++ agent/mibgroup/mibII/tcpTable.c     Tue Jul 13 13:10:12 2004
3@@ -695,7 +695,7 @@
4 
5 #if (defined(CAN_USE_SYSCTL) && defined(TCPCTL_PCBLIST))
6 
7-#if defined(freebsd4)
8+#if (defined(freebsd4) || defined(darwin))
9     #define NS_ELEM struct xtcpcb
10 #else
11     #define NS_ELEM struct xinpcb