diff options
author | Tobias Brunner <tobias@strongswan.org> | 2013-07-15 15:15:59 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-07-17 18:23:57 +0200 |
commit | 56b0fac8c9239a563d80df09d2f1a239d84d03f0 (patch) | |
tree | 14af55d615182e6e61ba938bcdda73221160c80a /src | |
parent | c7d0b80abb4e0302200d1f4fde1789ddf160ab11 (diff) | |
download | strongswan-56b0fac8c9239a563d80df09d2f1a239d84d03f0.tar.bz2 strongswan-56b0fac8c9239a563d80df09d2f1a239d84d03f0.tar.xz |
unity: Allow UNITY_LOCAL_LAN to be longer than 8 bytes
Diffstat (limited to 'src')
-rw-r--r-- | src/libcharon/plugins/unity/unity_handler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/unity/unity_handler.c b/src/libcharon/plugins/unity/unity_handler.c index 3dec7a3b6..6e1c5bb23 100644 --- a/src/libcharon/plugins/unity/unity_handler.c +++ b/src/libcharon/plugins/unity/unity_handler.c @@ -70,7 +70,7 @@ static traffic_selector_t *create_ts(chunk_t subnet) chunk_t net, mask; int i; - if (subnet.len != 8) + if (subnet.len < 8) { return NULL; } |