| 137 | } |
| 138 | |
| 139 | std::string toIPVectorString(const std::vector<uint32_t>& ips) { |
| 140 | std::string output; |
| 141 | const char* space = ""; |
| 142 | for (const auto& ip : ips) { |
| 143 | output += format("%s%d.%d.%d.%d", space, (ip >> 24) & 0xff, (ip >> 16) & 0xff, (ip >> 8) & 0xff, ip & 0xff); |
| 144 | space = " "; |
| 145 | } |
| 146 | return output; |
| 147 | } |
| 148 | |
| 149 | std::string toIPVectorString(const std::vector<IPAddress>& ips) { |
| 150 | std::string output; |
no test coverage detected