summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/ipsec.c
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-09-23 14:44:04 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-09-23 14:44:04 +0000
commitdd6cb76625db4d33697b54f6637121f15b6e763f (patch)
treeec152936d475051d6dd8d6be42c48476574b8c3d /sbin/isakmpd/ipsec.c
parentf0ce098f4e5845432ac7df795c721ffaae6f5fc7 (diff)
Provide UI commands to delete phase 1 SAs.
Looks good mortiz@
Diffstat (limited to 'sbin/isakmpd/ipsec.c')
-rw-r--r--sbin/isakmpd/ipsec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/ipsec.c b/sbin/isakmpd/ipsec.c
index 729fdf33c34..9906909017c 100644
--- a/sbin/isakmpd/ipsec.c
+++ b/sbin/isakmpd/ipsec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsec.c,v 1.121 2005/06/25 23:20:43 hshoexer Exp $ */
+/* $OpenBSD: ipsec.c,v 1.122 2005/09/23 14:44:03 hshoexer Exp $ */
/* $EOM: ipsec.c,v 1.143 2000/12/11 23:57:42 niklas Exp $ */
/*
@@ -1603,7 +1603,7 @@ ipsec_handle_leftover_payload(struct message *msg, u_int8_t type,
* disappear too.
*/
msg->transport->vtbl->get_dst(msg->transport, &dst);
- while ((sa = sa_lookup_by_peer(dst, SA_LEN(dst))) != 0) {
+ while ((sa = sa_lookup_by_peer(dst, SA_LEN(dst), 0)) != 0) {
/*
* Don't delete the current SA -- we received
* the notification over it, so it's obviously