summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2011-01-25 10:58:42 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2011-01-25 10:58:42 +0000
commit8e27578e39235e64029f3ad87f4965719057f029 (patch)
tree148d2476049b85b946bad6e48e71a1f4679cf573 /sbin
parent9b88cab7025bd0c77b80909438c4b1f33f1a82c2 (diff)
fixup child sa deletion in drop_sa; ok reyk
Diffstat (limited to 'sbin')
-rw-r--r--sbin/iked/ikev2.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/iked/ikev2.c b/sbin/iked/ikev2.c
index d789a92b819..0b3154a1b5a 100644
--- a/sbin/iked/ikev2.c
+++ b/sbin/iked/ikev2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ikev2.c,v 1.42 2011/01/24 17:44:28 mikeb Exp $ */
+/* $OpenBSD: ikev2.c,v 1.43 2011/01/25 10:58:41 mikeb Exp $ */
/* $vantronix: ikev2.c,v 1.101 2010/06/03 07:57:33 reyk Exp $ */
/*
@@ -3837,9 +3837,8 @@ ikev2_drop_sa(struct iked *env, struct iked_spi *drop)
else
spi32 = htobe32(csa->csa_peerspi);
- /* delete peer's SPI */
if (ikev2_childsa_delete(env, sa, csa->csa_saproto,
- csa->csa_peerspi, NULL, 1))
+ csa->csa_peerspi, NULL, 0))
log_debug("%s: failed to delete CHILD SA %s", __func__,
print_spi(csa->csa_peerspi, drop->spi_size));