aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter/starterstroke.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2013-03-01 11:27:12 +0100
committerMartin Willi <martin@revosec.ch>2013-03-01 11:27:12 +0100
commita36b49f3cb941869127bccd0a30fd1ff4905dc82 (patch)
tree090178e3ed9770feedde5d52a5eb53b930c15c97 /src/starter/starterstroke.c
parent53fcc70acc553c7f44c43d452ee73b5ac7c1b484 (diff)
parentb443fa61231357a4c09f0bfed22be05727427cda (diff)
downloadstrongswan-a36b49f3cb941869127bccd0a30fd1ff4905dc82.tar.bz2
strongswan-a36b49f3cb941869127bccd0a30fd1ff4905dc82.tar.xz
Merge branch 'opaque-ports'
Adds a %opaque port option and support for port ranges in left/rightprotoport. Currently not supported by any of our kernel backends.
Diffstat (limited to 'src/starter/starterstroke.c')
-rw-r--r--src/starter/starterstroke.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/starter/starterstroke.c b/src/starter/starterstroke.c
index 9d096453a..cc447c41f 100644
--- a/src/starter/starterstroke.c
+++ b/src/starter/starterstroke.c
@@ -146,7 +146,8 @@ static void starter_stroke_add_end(stroke_msg_t *msg, stroke_end_t *msg_end, sta
msg_end->tohost = !conn_end->subnet;
msg_end->allow_any = conn_end->allow_any;
msg_end->protocol = conn_end->protocol;
- msg_end->port = conn_end->port;
+ msg_end->from_port = conn_end->from_port;
+ msg_end->to_port = conn_end->to_port;
}
int starter_stroke_add_conn(starter_config_t *cfg, starter_conn_t *conn)