Explorar o código

debug logging

Grant Limberg %!s(int64=4) %!d(string=hai) anos
pai
achega
e67fee0264
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      controller/EmbeddedNetworkController.cpp

+ 2 - 0
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