aboutsummaryrefslogtreecommitdiff
path: root/net/atmsupport
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2009-04-11 19:37:43 +0000
committerHartmut Brandt <harti@FreeBSD.org>2009-04-11 19:37:43 +0000
commit11c0f289b306ce00ac3eb015f4cabc078566856a (patch)
tree917d983774bb9675ca68ef898b3644e8dd7d52df /net/atmsupport
parentb660c64cd30af38231fe6c70127dabdc152cc7e1 (diff)
downloadports-11c0f289b306ce00ac3eb015f4cabc078566856a.tar.gz
ports-11c0f289b306ce00ac3eb015f4cabc078566856a.zip
Notes
Diffstat (limited to 'net/atmsupport')
-rw-r--r--net/atmsupport/files/patch-ats_cc-kern.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/atmsupport/files/patch-ats_cc-kern.c b/net/atmsupport/files/patch-ats_cc-kern.c
new file mode 100644
index 000000000000..d46ba69af8e9
--- /dev/null
+++ b/net/atmsupport/files/patch-ats_cc-kern.c
@@ -0,0 +1,11 @@
+--- ats_cc/kern.c.orig 2009-04-11 15:20:31.000000000 +0200
++++ ats_cc/kern.c 2009-04-11 15:00:04.000000000 +0200
+@@ -427,7 +427,7 @@
+ err(1, NULL);
+
+ uarg->op = sig;
+- memcpy(uarg->data, msg->b_rptr, uni_msg_len(msg));
++ memcpy(uarg + 1, msg->b_rptr, uni_msg_len(msg));
+
+ if ((ret = NgSendData(dsock, user->hook, (const u_char *)uarg,
+ sizeof(*uarg) + uni_msg_len(msg))) == -1)