svn commit: r238294 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Mon Jul 9 10:59:40 UTC 2012
Author: tuexen
Date: Mon Jul 9 10:59:39 2012
New Revision: 238294
URL: http://svn.freebsd.org/changeset/base/238294
Log:
Fix a bug introduced in r237715.
MFC after:i 3 days.
Modified:
head/sys/netinet/sctp_output.c
Modified: head/sys/netinet/sctp_output.c
==============================================================================
--- head/sys/netinet/sctp_output.c Mon Jul 9 10:39:57 2012 (r238293)
+++ head/sys/netinet/sctp_output.c Mon Jul 9 10:59:39 2012 (r238294)
@@ -5520,6 +5520,7 @@ do_a_abort:
case AF_INET6:
{
stc.addr_type = SCTP_IPV6_ADDRESS;
+ memcpy(&stc.address, &src6->sin6_addr, sizeof(struct in6_addr));
stc.scope_id = in6_getscope(&src6->sin6_addr);
if (sctp_is_address_on_local_host(src, vrf_id)) {
stc.loopback_scope = 1;
More information about the svn-src-head
mailing list