summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-11-15 05:37:13 +0000
committerume <ume@FreeBSD.org>2003-11-15 05:37:13 +0000
commit6d87ae9b1ebcaeed0f884f455dde23b77a06948c (patch)
treed797df0718db523eada0cbcfbcce934f8acffdf3
parent7c1be6f130e6b475be7db8aad9db5acf13e9a47d (diff)
downloadFreeBSD-src-6d87ae9b1ebcaeed0f884f455dde23b77a06948c.zip
FreeBSD-src-6d87ae9b1ebcaeed0f884f455dde23b77a06948c.tar.gz
fixed a bug comparing sav->key_auth and SADB_AALG_NONE.
Obtained from: KAME
-rw-r--r--sys/netinet6/esp_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/esp_output.c b/sys/netinet6/esp_output.c
index e47476d..37a4654 100644
--- a/sys/netinet6/esp_output.c
+++ b/sys/netinet6/esp_output.c
@@ -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;
{
OpenPOWER on IntegriCloud