diff options
author | Martin Willi <martin@revosec.ch> | 2013-02-21 11:04:35 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2013-02-21 11:52:33 +0100 |
commit | a1db77de7c90bb80beaf2f7a1c6c3d8a1bba12c0 (patch) | |
tree | 2c517d4287b953c1b81350f67d786f44484988d6 /src/conftest/config.c | |
parent | c572b5c8c1c81756477a6df6148fd47c6f427020 (diff) | |
download | strongswan-a1db77de7c90bb80beaf2f7a1c6c3d8a1bba12c0.tar.bz2 strongswan-a1db77de7c90bb80beaf2f7a1c6c3d8a1bba12c0.tar.xz |
Use a complete port range in traffic_selector_create_from_{subnet,cidr}
Diffstat (limited to 'src/conftest/config.c')
-rw-r--r-- | src/conftest/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conftest/config.c b/src/conftest/config.c index ae0d93460..5c078d21a 100644 --- a/src/conftest/config.c +++ b/src/conftest/config.c @@ -188,7 +188,7 @@ static child_cfg_t *load_child_config(private_config_t *this, enumerator = enumerator_create_token(token, ",", " "); while (enumerator->enumerate(enumerator, &token)) { - ts = traffic_selector_create_from_cidr(token, 0, 0); + ts = traffic_selector_create_from_cidr(token, 0, 0, 65535); if (ts) { child_cfg->add_traffic_selector(child_cfg, TRUE, ts); @@ -212,7 +212,7 @@ static child_cfg_t *load_child_config(private_config_t *this, enumerator = enumerator_create_token(token, ",", " "); while (enumerator->enumerate(enumerator, &token)) { - ts = traffic_selector_create_from_cidr(token, 0, 0); + ts = traffic_selector_create_from_cidr(token, 0, 0, 65535); if (ts) { child_cfg->add_traffic_selector(child_cfg, FALSE, ts); |