浏览代码

debug logging

Grant Limberg 4 年之前
父节点
当前提交
e67fee0264
共有 1 个文件被更改,包括 2 次插入0 次删除
  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