mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
When determining if an address belongs to an stcb, take the address family
into account for wildcard bound endpoints. MFC after: 3 days
This commit is contained in:
parent
f4f34bde23
commit
dcb3fc4cd6
1 changed files with 3 additions and 0 deletions
|
|
@ -875,6 +875,9 @@ sctp_does_stcb_own_this_addr(struct sctp_tcb *stcb, struct sockaddr *to)
|
|||
*/
|
||||
continue;
|
||||
}
|
||||
if (sctp_ifa->address.sa.sa_family != to->sa_family) {
|
||||
continue;
|
||||
}
|
||||
switch (sctp_ifa->address.sa.sa_family) {
|
||||
#ifdef INET
|
||||
case AF_INET:
|
||||
|
|
|
|||
Loading…
Reference in a new issue