Commit 725718e1 authored by Michael Tremer's avatar Michael Tremer

network: Add more debugging output when running exclude

Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent 92ba094c
......@@ -1370,7 +1370,7 @@ static int __loc_database_enumerator_next_network_flattened(
struct loc_network_list* excluded = loc_network_exclude_list(*network, enumerator->subnets);
if (!excluded) {
loc_network_list_clear(enumerator->subnets);
return -1;
return 1;
}
// Merge subnets onto the stack
......
......@@ -406,6 +406,9 @@ ERROR:
if (subnet2)
loc_network_unref(subnet2);
if (r)
DEBUG(network->ctx, "%s has failed with %d\n", __FUNCTION__, r);
return r;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment