summaryrefslogtreecommitdiff
path: root/net/net-snmp/files/patch-tcpTable.c
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>2004-02-23 04:42:13 +0000
committerGarrett Wollman <wollman@FreeBSD.org>2004-02-23 04:42:13 +0000
commit60aab665670e50cb18bba45ee25f2ed091759741 (patch)
tree924c1af9c149083e0626ceb279b67ad6ca69e630 /net/net-snmp/files/patch-tcpTable.c
parentab7ba5abd2606b7e7d23d2359bb0a26004d0eec0 (diff)
downloadfreebsd-ports-60aab665670e50cb18bba45ee25f2ed091759741.zip
Say hello to the new "net-mgmt" category. There are probably more
ports that belong here than the ones I have identified and moved in this, first, pass. Approved in principle by: marcus
Diffstat (limited to 'net/net-snmp/files/patch-tcpTable.c')
-rw-r--r--net/net-snmp/files/patch-tcpTable.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/net/net-snmp/files/patch-tcpTable.c b/net/net-snmp/files/patch-tcpTable.c
deleted file mode 100644
index 20f29239b95d..000000000000
--- a/net/net-snmp/files/patch-tcpTable.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- agent/mibgroup/mibII/tcpTable.c.orig Fri Nov 14 14:49:21 2003
-+++ agent/mibgroup/mibII/tcpTable.c Fri Nov 14 15:14:16 2003
-@@ -84,6 +84,8 @@
- #define TCPTABLE_REMOTEADDRESS pcb.inp_faddr.s_addr
- #define TCPTABLE_REMOTEPORT pcb.inp_fport
- #define TCPTABLE_IS_LINKED_LIST
-+#undef INP_NEXT_SYMBOL
-+#define INP_NEXT_SYMBOL inp_next
-
- #endif /* linux */
- #endif /* WIN32 */
-@@ -695,11 +697,13 @@
- nnew = SNMP_MALLOC_TYPEDEF(netsnmp_inpcb);
- if (!nnew)
- break;
-+#if 0
- nnew->state = StateMap[((struct xinpcb *) xig)->xt_tp.t_state];
- if (nnew->state == 5 /* established */ ||
- nnew->state == 8 /* closeWait */ )
- tcp_estab++;
-- memcpy(&(nnew->pcb), &(((struct xinpcb *) xig)->xt_inp),
-+#endif
-+ memcpy(&(nnew->pcb), &(((struct xinpcb *) xig)->xi_inp),
- sizeof(struct inpcb));
-
- nnew->inp_next = tcp_head;