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/starter/starterstroke.c | |
parent | 5f0eb96fc40042633aacdeab2deaf5ca3ffb6c1d (diff) | |
download | strongswan-d109b48968c8f05d0530500af2bcad1c414ac17e.tar.bz2 strongswan-d109b48968c8f05d0530500af2bcad1c414ac17e.tar.xz |
added support for leftprotoport and rightprotoport
Diffstat (limited to 'src/starter/starterstroke.c')
-rw-r--r-- | src/starter/starterstroke.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/starter/starterstroke.c b/src/starter/starterstroke.c index 66a51276f..d17a8508b 100644 --- a/src/starter/starterstroke.c +++ b/src/starter/starterstroke.c @@ -116,6 +116,8 @@ static void starter_stroke_add_end(stroke_msg_t *msg, stroke_end_t *msg_end, sta msg_end->subnet = push_string(msg, inet_ntoa(conn_end->subnet.addr.u.v4.sin_addr)); msg_end->subnet_mask = conn_end->subnet.maskbits; msg_end->sendcert = conn_end->sendcert; + msg_end->protocol = conn_end->protocol; + msg_end->port = conn_end->port; } int starter_stroke_add_conn(starter_conn_t *conn) |