aboutsummaryrefslogtreecommitdiffstats
path: root/comms/conserver-com
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2009-10-25 09:04:02 +0800
committerkuriyama <kuriyama@FreeBSD.org>2009-10-25 09:04:02 +0800
commitc16f46d20fd0e3b9ac14897cc371af7bcab0350d (patch)
tree01cd82009516110abd57e77082549e498ab3a8ad /comms/conserver-com
parent227c36836de37314e3259547df2ba2cf3643a658 (diff)
downloadfreebsd-ports-gnome-c16f46d20fd0e3b9ac14897cc371af7bcab0350d.tar.gz
freebsd-ports-gnome-c16f46d20fd0e3b9ac14897cc371af7bcab0350d.tar.zst
freebsd-ports-gnome-c16f46d20fd0e3b9ac14897cc371af7bcab0350d.zip
Oops, I forgot to cvs-add this file in previos commit.
Diffstat (limited to 'comms/conserver-com')
-rw-r--r--comms/conserver-com/files/patch-cutil.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/conserver-com/files/patch-cutil.c b/comms/conserver-com/files/patch-cutil.c
new file mode 100644
index 000000000000..880488a69656
--- /dev/null
+++ b/comms/conserver-com/files/patch-cutil.c
@@ -0,0 +1,11 @@
+--- conserver/cutil.c.orig 2009-10-22 20:40:33.466802736 +0900
++++ conserver/cutil.c 2009-10-22 20:40:53.459082364 +0900
+@@ -2283,7 +2283,7 @@
+ if ((ifc.ifc_len - r) < sizeof(*ifr))
+ break;
+ #ifdef HAVE_SA_LEN
+- if (sa->sa_len > sizeof(ifr->ifr_irfu))
++ if (sa->sa_len > sizeof(ifr->ifr_addr))
+ r += sizeof(ifr->ifr_name) + sa->sa_len;
+ else
+ #endif