aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter/starterstroke.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/starter/starterstroke.c')
-rw-r--r--src/starter/starterstroke.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/starter/starterstroke.c b/src/starter/starterstroke.c
index 69b5e5085..006cf1a21 100644
--- a/src/starter/starterstroke.c
+++ b/src/starter/starterstroke.c
@@ -228,6 +228,7 @@ int starter_stroke_add_conn(starter_conn_t *conn)
msg.add_conn.rekey.fuzz = conn->sa_rekey_fuzz;
}
msg.add_conn.mobike = conn->policy & POLICY_MOBIKE;
+ msg.add_conn.force_encap = conn->policy & POLICY_FORCE_ENCAP;
msg.add_conn.algorithms.ike = push_string(&msg, conn->ike);
msg.add_conn.algorithms.esp = push_string(&msg, conn->esp);
msg.add_conn.dpd.delay = conn->dpd_delay;