diff options
author | Martin Willi <martin@strongswan.org> | 2006-12-21 14:35:17 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-12-21 14:35:17 +0000 |
commit | 7652be891c5d3b1cd305d3e32bce64f5e67134c7 (patch) | |
tree | 5def6569a7d5c8f4305a7b78779d7befa540ea68 /src/starter/starterstroke.c | |
parent | 38ab8048f54ce449339c317310e3e73a7b7f53d0 (diff) | |
download | strongswan-7652be891c5d3b1cd305d3e32bce64f5e67134c7.tar.bz2 strongswan-7652be891c5d3b1cd305d3e32bce64f5e67134c7.tar.xz |
added support for transport mode and (experimental!) BEET mode
support for the type=transport/tunnel parameter in charon
Diffstat (limited to 'src/starter/starterstroke.c')
-rw-r--r-- | src/starter/starterstroke.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/starter/starterstroke.c b/src/starter/starterstroke.c index eff157add..41f67c891 100644 --- a/src/starter/starterstroke.c +++ b/src/starter/starterstroke.c @@ -194,6 +194,7 @@ int starter_stroke_add_conn(starter_conn_t *conn) msg.add_conn.name = push_string(&msg, connection_name(conn)); msg.add_conn.auth_method = (conn->policy & POLICY_PSK)? SHARED_KEY_MESSAGE_INTEGRITY_CODE : RSA_DIGITAL_SIGNATURE; + msg.add_conn.mode = (conn->policy & POLICY_TUNNEL) ? 1 : 0; if (conn->policy & POLICY_DONT_REKEY) { |