unity: Allow UNITY_LOCAL_LAN to be longer than 8 bytes

This commit is contained in:
Tobias Brunner
2013-07-17 18:23:57 +02:00
parent c7d0b80abb
commit 56b0fac8c9
+1 -1
View File
@@ -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;
}