aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-09-08 06:12:02 +0000
committerMartin Willi <martin@strongswan.org>2006-09-08 06:12:02 +0000
commit1239c6f40b9940a9b15d514a72e93dae323c6c04 (patch)
tree321f264870d7d746ce5789c20cf4feaef733448c /src/starter
parenta655f5c09c2ba180b7d393dbdfc8b8057293d9ab (diff)
downloadstrongswan-1239c6f40b9940a9b15d514a72e93dae323c6c04.tar.bz2
strongswan-1239c6f40b9940a9b15d514a72e93dae323c6c04.tar.xz
implemented handling of dpdaction and dpddelay ipsec.conf parameters
Diffstat (limited to 'src/starter')
-rw-r--r--src/starter/starterstroke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/starter/starterstroke.c b/src/starter/starterstroke.c
index 32866be05..e54931ad5 100644
--- a/src/starter/starterstroke.c
+++ b/src/starter/starterstroke.c
@@ -181,7 +181,7 @@ int starter_stroke_add_conn(starter_conn_t *conn)
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;
- msg.add_conn.dpd.route = conn->dpd_action == DPD_ACTION_HOLD ? 1 : 0;
+ msg.add_conn.dpd.action = conn->dpd_action;
starter_stroke_add_end(&msg, &msg.add_conn.me, &conn->right);
starter_stroke_add_end(&msg, &msg.add_conn.other, &conn->left);