Browse Source

debug logging

pull/2/head
Grant Limberg 5 years ago
parent
commit
e67fee0264
No known key found for this signature in database
GPG Key ID: 2BA62CCABBB4095A
  1. 2
      controller/EmbeddedNetworkController.cpp

2
controller/EmbeddedNetworkController.cpp

@ -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

Loading…
Cancel
Save