summaryrefslogtreecommitdiff
path: root/sbin/ipsecctl
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2006-06-16 18:46:27 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2006-06-16 18:46:27 +0000
commitff592237287aa96b7b79b975e91686fcaa132266 (patch)
tree7cb5d7d2825621236ccb2e4e52bc4807a16c05b9 /sbin/ipsecctl
parentbc506cd082eca8c7705ac02c7a764eae84ced91f (diff)
add a missing "force"
Diffstat (limited to 'sbin/ipsecctl')
-rw-r--r--sbin/ipsecctl/ike.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/ipsecctl/ike.c b/sbin/ipsecctl/ike.c
index 667fe367e71..f908eefedc5 100644
--- a/sbin/ipsecctl/ike.c
+++ b/sbin/ipsecctl/ike.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ike.c,v 1.43 2006/06/15 16:57:24 hshoexer Exp $ */
+/* $OpenBSD: ike.c,v 1.44 2006/06/16 18:46:26 hshoexer Exp $ */
/*
* Copyright (c) 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org>
*
@@ -300,7 +300,8 @@ ike_section_mm(struct ipsec_addr_wrap *peer, struct ipsec_transforms *mmxfs,
peer->name);
fprintf(fd, ADD "[mm-%s]:Transforms=", peer->name);
} else {
- fprintf(fd, SET "[peer-default]:Configuration=mm-default\n");
+ fprintf(fd, SET
+ "[peer-default]:Configuration=mm-default force\n");
fprintf(fd, SET "[mm-default]:EXCHANGE_TYPE=ID_PROT force\n");
fprintf(fd, ADD "[mm-default]:Transforms=");
}