Add port to scanning devices
This commit is contained in:
@@ -3010,6 +3010,7 @@ static std::string DevicesToJson(const std::vector<ANSCENTER::ANSDeviceInfo>& de
|
||||
j += "{\"ip\":\""; j += JsonEscape(devs[i].ip); j += "\",";
|
||||
j += "\"name\":\""; j += JsonEscape(devs[i].name); j += "\",";
|
||||
j += "\"firmware\":\""; j += JsonEscape(devs[i].firmware); j += "\",";
|
||||
j += "\"port\":"; j += std::to_string(devs[i].port); j += ',';
|
||||
j += "\"source\":"; j += std::to_string(devs[i].source);
|
||||
j += '}';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user