diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-12-20 20:01:18 +0100 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-12-20 20:01:18 +0100 |
commit | 678aab785009624e71f8cd63600710da1d57fd22 (patch) | |
tree | fd4c18a398168e0c5e39d403d9cce3548cf025a2 /src/libstrongswan | |
parent | 513eb95e605549cf440e78cffff0790b365a762e (diff) | |
download | strongswan-678aab785009624e71f8cd63600710da1d57fd22.tar.bz2 strongswan-678aab785009624e71f8cd63600710da1d57fd22.tar.xz |
this->type is set by traffic_selector_create()
Diffstat (limited to 'src/libstrongswan')
-rw-r--r-- | src/libstrongswan/selectors/traffic_selector.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstrongswan/selectors/traffic_selector.c b/src/libstrongswan/selectors/traffic_selector.c index 08bf98795..ef463e2a0 100644 --- a/src/libstrongswan/selectors/traffic_selector.c +++ b/src/libstrongswan/selectors/traffic_selector.c @@ -330,7 +330,6 @@ static traffic_selector_t *get_subset(private_traffic_selector_t *this, private_ /* we have a match in protocol, port, and address: return it... */ new_ts = traffic_selector_create(protocol, this->type, from_port, to_port); - new_ts->type = this->type; new_ts->dynamic = this->dynamic || other->dynamic; memcpy(new_ts->from, from, size); memcpy(new_ts->to, to, size); @@ -767,7 +766,6 @@ traffic_selector_t *traffic_selector_create_from_string( private_traffic_selector_t *this = traffic_selector_create(protocol, type, from_port, to_port); - this->type = type; switch (type) { case TS_IPV4_ADDR_RANGE: |