diff options
| author | Bruce M Simpson <bms@FreeBSD.org> | 2004-06-22 17:17:44 +0000 |
|---|---|---|
| committer | Bruce M Simpson <bms@FreeBSD.org> | 2004-06-22 17:17:44 +0000 |
| commit | 171ed0933c6742a764acb9b9280c7bfb6714561a (patch) | |
| tree | 81b6d93d50279e63bc5d0461ae432a476f677de5 /sys/netipsec | |
| parent | 49a39408737f6cec4b024b11a9dcf5e368b4e74e (diff) | |
Notes
Diffstat (limited to 'sys/netipsec')
| -rw-r--r-- | sys/netipsec/key.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netipsec/key.c b/sys/netipsec/key.c index eed78c9cc30a..2d34bc04544e 100644 --- a/sys/netipsec/key.c +++ b/sys/netipsec/key.c @@ -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, |
