From ff592237287aa96b7b79b975e91686fcaa132266 Mon Sep 17 00:00:00 2001 From: Hans-Joerg Hoexer Date: Fri, 16 Jun 2006 18:46:27 +0000 Subject: add a missing "force" --- sbin/ipsecctl/ike.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sbin/ipsecctl') 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 * @@ -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="); } -- cgit v1.2.3