mirror of
https://github.com/joyieldInc/predixy.git
synced 2025-12-24 22:46:41 +08:00
handle without port ip address validation
This commit is contained in:
parent
6c49085347
commit
443b2954e4
@ -62,7 +62,7 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
const char* host = "";
|
||||
const char* host = mAddr;
|
||||
const char* port = strrchr(mAddr, ':');
|
||||
if (port) {
|
||||
std::string tmp;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user