Exclude dynamic TS from Unity Split-Include attributes

This commit is contained in:
Martin Willi
2012-10-30 09:14:44 +01:00
parent 3689f0f6cc
commit 6e8f88dba3
@@ -59,6 +59,7 @@ METHOD(enumerator_t, attribute_enumerate, bool,
return FALSE;
}
if (ts->get_type(ts) == TS_IPV4_ADDR_RANGE &&
!ts->is_dynamic(ts) &&
ts->to_subnet(ts, &net, &mask))
{
ts->destroy(ts);