]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Exclude dynamic TS from Unity Split-Include attributes
authorMartin Willi <martin@revosec.ch>
Tue, 30 Oct 2012 08:14:44 +0000 (09:14 +0100)
committerMartin Willi <martin@revosec.ch>
Tue, 30 Oct 2012 08:14:44 +0000 (09:14 +0100)
src/libcharon/plugins/unity/unity_provider.c

index c7feb090c2aa53a5cdb0730e50704fbbf8935bc9..0881b3985ddf7ffff9de2388adfb2ad227bedd62 100644 (file)
@@ -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);