aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/control/interfaces/stroke_interface.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2007-10-01 16:41:34 +0000
committerMartin Willi <martin@strongswan.org>2007-10-01 16:41:34 +0000
commitf53b74c96f86fe25dd1b4871f0c1a80b18ab4514 (patch)
tree84937fcdaf2af4d112bc25f5323d0ca0797bcafd /src/charon/control/interfaces/stroke_interface.c
parent011fb1b97e241c635210630aa25c98f8fcf5686c (diff)
downloadstrongswan-f53b74c96f86fe25dd1b4871f0c1a80b18ab4514.tar.bz2
strongswan-f53b74c96f86fe25dd1b4871f0c1a80b18ab4514.tar.xz
moved force_encap to ike_config, enables responder to enforce udp encapsulation
fixed bugs in force_encap code
Diffstat (limited to 'src/charon/control/interfaces/stroke_interface.c')
-rwxr-xr-xsrc/charon/control/interfaces/stroke_interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/charon/control/interfaces/stroke_interface.c b/src/charon/control/interfaces/stroke_interface.c
index 13d4b9662..f6935d547 100755
--- a/src/charon/control/interfaces/stroke_interface.c
+++ b/src/charon/control/interfaces/stroke_interface.c
@@ -522,7 +522,7 @@ static void stroke_add_conn(stroke_msg_t *msg, FILE *out)
else
{
ike_cfg = ike_cfg_create(msg->add_conn.other.sendcert != CERT_NEVER_SEND,
- my_host, other_host);
+ msg->add_conn.force_encap, my_host, other_host);
if (msg->add_conn.algorithms.ike)
{
@@ -572,8 +572,8 @@ static void stroke_add_conn(stroke_msg_t *msg, FILE *out)
msg->add_conn.rekey.ike_lifetime - msg->add_conn.rekey.margin,
msg->add_conn.rekey.margin * msg->add_conn.rekey.fuzz / 100,
msg->add_conn.rekey.reauth, msg->add_conn.mobike,
- msg->add_conn.force_encap, msg->add_conn.dpd.delay,
- msg->add_conn.dpd.action, my_vip, other_vip);
+ msg->add_conn.dpd.delay, msg->add_conn.dpd.action,
+ my_vip, other_vip);
}
child_cfg = child_cfg_create(