aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter/invokepluto.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2008-04-02 18:35:23 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2008-04-02 18:35:23 +0000
commit7a9d3ae4719500e416261ba668c9b2dcc94569dc (patch)
tree8178b2edc6099529eae8b4509505aea63e612ae0 /src/starter/invokepluto.c
parentc3f803c4c62c054fdbebf99e79c8d1fb877dc43f (diff)
downloadstrongswan-7a9d3ae4719500e416261ba668c9b2dcc94569dc.tar.bz2
strongswan-7a9d3ae4719500e416261ba668c9b2dcc94569dc.tar.xz
support of force_keepalive parameter
Diffstat (limited to 'src/starter/invokepluto.c')
-rw-r--r--src/starter/invokepluto.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/starter/invokepluto.c b/src/starter/invokepluto.c
index 7c995f889..b3a8749f4 100644
--- a/src/starter/invokepluto.c
+++ b/src/starter/invokepluto.c
@@ -167,6 +167,10 @@ starter_start_pluto (starter_config_t *cfg, bool debug)
{
arg[argc++] = "--nat_traversal";
}
+ if (cfg->setup.force_keepalive)
+ {
+ arg[argc++] = "--force_keepalive";
+ }
if (cfg->setup.keep_alive)
{
static char buf2[15];