summaryrefslogtreecommitdiff
path: root/comms/conserver8/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'comms/conserver8/patches/patch-ac')
-rw-r--r--comms/conserver8/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/conserver8/patches/patch-ac b/comms/conserver8/patches/patch-ac
new file mode 100644
index 00000000000..34978321225
--- /dev/null
+++ b/comms/conserver8/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2009/06/14 07:52:51 wiz Exp $
+
+--- conserver/cutil.c.orig 2006-12-26 07:27:34.000000000 +0000
++++ conserver/cutil.c
+@@ -2283,7 +2283,7 @@ ProbeInterfaces(bindAddr)
+ if ((ifc.ifc_len - r) < sizeof(*ifr))
+ break;
+ #ifdef HAVE_SA_LEN
+- if (sa->sa_len > sizeof(ifr->ifr_addr))
++ if (sa->sa_len > sizeof(ifr->ifr_ifru))
+ r += sizeof(ifr->ifr_name) + sa->sa_len;
+ else
+ #endif