summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp-devel/files/patch-udpTable.c
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2004-08-11 02:31:33 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2004-08-11 02:31:33 +0000
commitfb3bf3454887d3cafe55cc22c5d52c1499cbd92c (patch)
tree69dee5570aa57786658a45609190dc652634e1ca /net-mgmt/net-snmp-devel/files/patch-udpTable.c
parentUpdate to 2.1.2. (diff)
- Upgrade to 5.1.2.
Numerous patches are integrated into this release.
Notes
Notes: svn path=/head/; revision=115888
Diffstat (limited to 'net-mgmt/net-snmp-devel/files/patch-udpTable.c')
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-udpTable.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/net-mgmt/net-snmp-devel/files/patch-udpTable.c b/net-mgmt/net-snmp-devel/files/patch-udpTable.c
deleted file mode 100644
index 83364a9a338d..000000000000
--- a/net-mgmt/net-snmp-devel/files/patch-udpTable.c
+++ /dev/null
@@ -1,25 +0,0 @@
---- agent/mibgroup/mibII/udpTable.c.orig Fri Nov 14 15:14:52 2003
-+++ agent/mibgroup/mibII/udpTable.c Fri Nov 14 15:18:08 2003
-@@ -577,6 +577,7 @@
- * Unpick this into the constituent 'xinpgen' structures, and extract
- * the 'inpcb' elements into a linked list (built in reverse)
- */
-+#if 0
- xig = (struct xinpgen *) udpcb_buf;
- xig = (struct xinpgen *) ((char *) xig + xig->xig_len);
-
-@@ -584,12 +585,13 @@
- nnew = SNMP_MALLOC_TYPEDEF(struct inpcb);
- if (!nnew)
- break;
-- memcpy(nnew, ((struct xinpcb *) xig)->xi_inp, sizeof(struct inpcb));
-+ memcpy(nnew, &((struct xinpcb *) xig)->xi_inp, sizeof(struct inpcb));
-
- nnew->next = udp_head; /* XXX - ?? Check 'next' pointer */
- udp_head = nnew;
- xig = (struct xinpgen *) ((char *) xig + xig->xig_len);
- }
-+#endif
-
- free(udpcb_buf);
- if (udp_head) {