Fix a paste-o in key_cmpspidx_withmask().

PR:		misc/67013
Submitted by:	Zhenmin <zli4@cs.uiuc.edu>
This commit is contained in:
bms 2004-06-22 17:17:44 +00:00
parent 8abf9484aa
commit 211ce911d5

View File

@ -3874,8 +3874,8 @@ key_cmpspidx_withmask(
* scope_id check. if sin6_scope_id is 0, we regard it
* as a wildcard scope, which matches any scope zone ID.
*/
if (spidx0->src.sin6.sin6_scope_id &&
spidx1->src.sin6.sin6_scope_id &&
if (spidx0->dst.sin6.sin6_scope_id &&
spidx1->dst.sin6.sin6_scope_id &&
spidx0->dst.sin6.sin6_scope_id != spidx1->dst.sin6.sin6_scope_id)
return 0;
if (!key_bbcmp(&spidx0->dst.sin6.sin6_addr,