Browse Source

JSON fix for trusted paths (does not affect normal op)

Adam Ierymenko 9 years ago
parent
commit
6ec3464ee9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/ControlPlane.cpp

+ 1 - 1
service/ControlPlane.cpp

@@ -191,7 +191,7 @@ static std::string _jsonEnumerate(unsigned int depth,const ZT_PeerPhysicalPath *
 			"%s\t\"lastReceive\": %llu,\n"
 			"%s\t\"lastReceive\": %llu,\n"
 			"%s\t\"active\": %s,\n"
 			"%s\t\"active\": %s,\n"
 			"%s\t\"preferred\": %s,\n"
 			"%s\t\"preferred\": %s,\n"
-			"%s\t\"trustedPathId\": %llx\n"
+			"%s\t\"trustedPathId\": %llu\n"
 			"%s}",
 			"%s}",
 			prefix,_jsonEscape(reinterpret_cast<const InetAddress *>(&(pp[i].address))->toString()).c_str(),
 			prefix,_jsonEscape(reinterpret_cast<const InetAddress *>(&(pp[i].address))->toString()).c_str(),
 			prefix,pp[i].lastSend,
 			prefix,pp[i].lastSend,