diff options
author | Martin Willi <martin@revosec.ch> | 2013-03-01 11:27:12 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2013-03-01 11:27:12 +0100 |
commit | a36b49f3cb941869127bccd0a30fd1ff4905dc82 (patch) | |
tree | 090178e3ed9770feedde5d52a5eb53b930c15c97 /src/conftest/config.c | |
parent | 53fcc70acc553c7f44c43d452ee73b5ac7c1b484 (diff) | |
parent | b443fa61231357a4c09f0bfed22be05727427cda (diff) | |
download | strongswan-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/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 10b773de2..7f05e9c72 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); |