diff options
author | Martin Willi <martin@strongswan.org> | 2006-07-05 13:13:07 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-07-05 13:13:07 +0000 |
commit | d109b48968c8f05d0530500af2bcad1c414ac17e (patch) | |
tree | 4482b6b2e773fe4c80b3fab3fec5c145b1946c9c /src/stroke/stroke.c | |
parent | 5f0eb96fc40042633aacdeab2deaf5ca3ffb6c1d (diff) | |
download | strongswan-d109b48968c8f05d0530500af2bcad1c414ac17e.tar.bz2 strongswan-d109b48968c8f05d0530500af2bcad1c414ac17e.tar.xz |
added support for leftprotoport and rightprotoport
Diffstat (limited to 'src/stroke/stroke.c')
-rw-r--r-- | src/stroke/stroke.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c index c8ec9c728..15661a2ec 100644 --- a/src/stroke/stroke.c +++ b/src/stroke/stroke.c @@ -123,6 +123,8 @@ static int add_connection(char *name, msg.add_conn.me.cert = NULL; msg.add_conn.me.ca = NULL; msg.add_conn.me.sendcert = 1; + msg.add_conn.me.protocol = 0; + msg.add_conn.me.port = 0; msg.add_conn.other.id = push_string(&msg, other_id); msg.add_conn.other.address = push_string(&msg, other_addr); @@ -131,6 +133,8 @@ static int add_connection(char *name, msg.add_conn.other.cert = NULL; msg.add_conn.other.ca = NULL; msg.add_conn.other.sendcert = 1; + msg.add_conn.other.protocol = 0; + msg.add_conn.other.port = 0; return send_stroke_msg(&msg); } |