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 da617ae2ac
commit 6ffa9800aa

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,