diff options
author | Martin Willi <martin@strongswan.org> | 2006-09-08 06:12:02 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-09-08 06:12:02 +0000 |
commit | 1239c6f40b9940a9b15d514a72e93dae323c6c04 (patch) | |
tree | 321f264870d7d746ce5789c20cf4feaef733448c /src/stroke | |
parent | a655f5c09c2ba180b7d393dbdfc8b8057293d9ab (diff) | |
download | strongswan-1239c6f40b9940a9b15d514a72e93dae323c6c04.tar.bz2 strongswan-1239c6f40b9940a9b15d514a72e93dae323c6c04.tar.xz |
implemented handling of dpdaction and dpddelay ipsec.conf parameters
Diffstat (limited to 'src/stroke')
-rw-r--r-- | src/stroke/stroke.c | 2 | ||||
-rw-r--r-- | src/stroke/stroke.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c index 03a5ca245..6ca07a8e5 100644 --- a/src/stroke/stroke.c +++ b/src/stroke/stroke.c @@ -117,7 +117,7 @@ static int add_connection(char *name, msg.add_conn.algorithms.esp = NULL; msg.add_conn.dpd.delay = 0; - msg.add_conn.dpd.route = 0; + msg.add_conn.dpd.action = 1; msg.add_conn.me.id = push_string(&msg, my_id); msg.add_conn.me.address = push_string(&msg, my_addr); diff --git a/src/stroke/stroke.h b/src/stroke/stroke.h index 320284229..39a529c60 100644 --- a/src/stroke/stroke.h +++ b/src/stroke/stroke.h @@ -147,7 +147,7 @@ struct stroke_msg_t { } rekey; struct { time_t delay; - bool route; + int action; } dpd; stroke_end_t me, other; } add_conn; |