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

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