aboutsummaryrefslogtreecommitdiffstats
path: root/src/stroke/stroke.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-02-22 19:26:25 +0100
committerMartin Willi <martin@revosec.ch>2010-02-26 11:44:33 +0100
commit667b73721a48cce4005eb2e2eda6c5e99d8ce888 (patch)
tree6d848be96ff59eb29db6bed2222a73de8a47ab73 /src/stroke/stroke.c
parentcc2eaddee4dea3f30ea05abb7a67b8ac64c880e1 (diff)
downloadstrongswan-667b73721a48cce4005eb2e2eda6c5e99d8ce888.tar.bz2
strongswan-667b73721a48cce4005eb2e2eda6c5e99d8ce888.tar.xz
Added left-/rightikeport ipsec.conf options to use custom IKE ports
Diffstat (limited to 'src/stroke/stroke.c')
-rw-r--r--src/stroke/stroke.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c
index 955e49535..c195c09a9 100644
--- a/src/stroke/stroke.c
+++ b/src/stroke/stroke.c
@@ -129,11 +129,13 @@ static int add_connection(char *name,
msg.add_conn.me.id = push_string(&msg, my_id);
msg.add_conn.me.address = push_string(&msg, my_addr);
+ msg.add_conn.me.ikeport = 500;
msg.add_conn.me.subnets = push_string(&msg, my_nets);
msg.add_conn.me.sendcert = 1;
msg.add_conn.other.id = push_string(&msg, other_id);
msg.add_conn.other.address = push_string(&msg, other_addr);
+ msg.add_conn.other.ikeport = 500;
msg.add_conn.other.subnets = push_string(&msg, other_nets);
msg.add_conn.other.sendcert = 1;