debug logging

This commit is contained in:
Grant Limberg 2021-07-06 13:07:54 -07:00
parent 5ece4f734a
commit e67fee0264
No known key found for this signature in database
GPG Key ID: 2BA62CCABBB4095A

View File

@ -1477,6 +1477,8 @@ void EmbeddedNetworkController::_request(
json &memberTags = member["tags"];
json &dns = network["dns"];
fprintf(stderr, "IP Assignment Pools for Network %s: %s\n", nwids, OSUtils::jsonDump(ipAssignmentPools, 2));
if (metaData.getUI(ZT_NETWORKCONFIG_REQUEST_METADATA_KEY_RULES_ENGINE_REV,0) <= 0) {
// Old versions with no rules engine support get an allow everything rule.
// Since rules are enforced bidirectionally, newer versions *will* still