aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/control/interfaces/stroke_interface.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2007-10-01 12:19:39 +0000
committerMartin Willi <martin@strongswan.org>2007-10-01 12:19:39 +0000
commit9dae1bed004cc5d3d064fe3f735240afe8f44894 (patch)
tree9e0505849b3780fd22067aa8218c23146fc72cf8 /src/charon/control/interfaces/stroke_interface.c
parent92232dab33c6f1212e5b0b30cf590ad42246cffa (diff)
downloadstrongswan-9dae1bed004cc5d3d064fe3f735240afe8f44894.tar.bz2
strongswan-9dae1bed004cc5d3d064fe3f735240afe8f44894.tar.xz
implemented IKEv2 force_encap connection parameter
enforces UDP encapsulation by faking NAT detection payloads to hurdle restrictive firewalls
Diffstat (limited to 'src/charon/control/interfaces/stroke_interface.c')
-rwxr-xr-xsrc/charon/control/interfaces/stroke_interface.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/charon/control/interfaces/stroke_interface.c b/src/charon/control/interfaces/stroke_interface.c
index 3ab6b5700..13d4b9662 100755
--- a/src/charon/control/interfaces/stroke_interface.c
+++ b/src/charon/control/interfaces/stroke_interface.c
@@ -571,8 +571,9 @@ static void stroke_add_conn(stroke_msg_t *msg, FILE *out)
msg->add_conn.rekey.tries, msg->add_conn.rekey.ike_lifetime,
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.dpd.delay, msg->add_conn.dpd.action, my_vip, other_vip);
+ 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);
}
child_cfg = child_cfg_create(