better error correction if ip syntax not correct

This commit is contained in:
lukas committed 2021-02-01 18:33:36 +01:00
1 parent 095eb5c0cd
commit 2d1e99260d
4 files changed
+13 -8

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ public:
* @param ip ip address to test
* @return validity
*/
static bool isIpValid(std::string ip);
static bool isIpValid(const std::string& ip);
private:
};