fixed an unexpected addr/port matching failure in IPv6 SA management

PR: kern/72393
MFC after: 3 days
This commit is contained in:
SUZUKI Shinsuke 2005-01-10 13:06:42 +00:00
parent df616c9022
commit 6910b9ebdb

View File

@ -4243,6 +4243,7 @@ key_sockaddrcmp(sa1, sa2, port)
satosin6(sa1)->sin6_port != satosin6(sa2)->sin6_port) {
return 1;
}
break;
default:
if (bcmp(sa1, sa2, sa1->sa_len) != 0)
return 1;