mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
correct fast ipsec logic: compare destination ip address against the
contents of the SA, not the SP Submitted by: "Doug Ambrisko" <ambrisko@verniernetworks.com>
This commit is contained in:
parent
955630483b
commit
ab94ca3cec
1 changed files with 1 additions and 1 deletions
|
|
@ -637,7 +637,7 @@ skip_ipsec:
|
|||
tdbi = (struct tdb_ident *)(mtag + 1);
|
||||
if (tdbi->spi == sp->req->sav->spi &&
|
||||
tdbi->proto == sp->req->sav->sah->saidx.proto &&
|
||||
bcmp(&tdbi->dst, &sp->spidx.dst,
|
||||
bcmp(&tdbi->dst, &sp->req->sav->sah->saidx.dst,
|
||||
sizeof (union sockaddr_union)) == 0) {
|
||||
/*
|
||||
* No IPsec processing is needed, free
|
||||
|
|
|
|||
Loading…
Reference in a new issue