summaryrefslogtreecommitdiff
path: root/sbin/ipsecctl/ike.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ipsecctl/ike.c')
-rw-r--r--sbin/ipsecctl/ike.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/ipsecctl/ike.c b/sbin/ipsecctl/ike.c
index fe82ede8705..2993f4fd754 100644
--- a/sbin/ipsecctl/ike.c
+++ b/sbin/ipsecctl/ike.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ike.c,v 1.22 2006/03/31 14:02:08 markus Exp $ */
+/* $OpenBSD: ike.c,v 1.23 2006/03/31 14:11:39 hshoexer Exp $ */
/*
* Copyright (c) 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org>
*
@@ -356,6 +356,7 @@ ike_delete_config(struct ipsec_rule *r, FILE *fd)
{
switch (r->ikemode) {
case IKE_ACTIVE:
+ case IKE_DYNAMIC:
fprintf(fd, "t IPsec-%s-%s\n", r->src->name, r->dst->name);
break;
case IKE_PASSIVE: