Fix a bug introduced in r237715.
MFC after:i 3 days.
This commit is contained in:
parent
92184b6098
commit
5db75fc724
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=238294
@ -5520,6 +5520,7 @@ sctp_send_initiate_ack(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user