Add missing
break; so when comparing AF_INET6 addresses, scope and ports we do not run into the default case and return 'no match' instead of 'match'.
This commit is contained in:
parent
81c16aec72
commit
c2f03ee6e6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170120
@ -4007,6 +4007,7 @@ key_sockaddrcmp(
|
||||
satosin6(sa1)->sin6_port != satosin6(sa2)->sin6_port) {
|
||||
return 1;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
if (bcmp(sa1, sa2, sa1->sa_len) != 0)
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user