fixed a bug comparing sav->key_auth and SADB_AALG_NONE.

Obtained from:	KAME
This commit is contained in:
Hajimu UMEMOTO 2003-11-15 05:37:13 +00:00
parent 7be232f1ae
commit c28ac7f842
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122738

View file

@ -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;
{