mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-16 15:11:52 +00:00
Fix a paste-o in key_cmpspidx_withmask().
PR: misc/67013 Submitted by: Zhenmin <zli4@cs.uiuc.edu>
This commit is contained in:
parent
49a3940873
commit
171ed0933c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130928
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user