better error correction if ip syntax not correct
This commit is contained in:
1 parent
095eb5c0cd
commit
2d1e99260d
4 files changed
+13
-8
No files matched your search
+1
-1
@@ -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:
|
||||
};
|
||||
Reference in new issue
Block a user