mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 22:04:40 +00:00
fixed a bug comparing sav->key_auth and SADB_AALG_NONE.
Obtained from: KAME
This commit is contained in:
parent
7be232f1ae
commit
c28ac7f842
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122738
|
@ -585,7 +585,7 @@ esp_output(m, nexthdrp, md, isr, af)
|
|||
goto noantireplay;
|
||||
if (!sav->key_auth)
|
||||
goto noantireplay;
|
||||
if (sav->key_auth == SADB_AALG_NONE)
|
||||
if (sav->alg_auth == SADB_AALG_NONE)
|
||||
goto noantireplay;
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue