fix: fix pipedald port parameter
This commit is contained in:
@@ -75,7 +75,15 @@ public:
|
||||
|
||||
void SetSocketServerEndpoint(const std::string &endpoint)
|
||||
{
|
||||
this->socketServerAddress_ = endpoint;
|
||||
if (endpoint.find(':') == std::string::npos)
|
||||
{
|
||||
// Only a port number was provided, use default address.
|
||||
this->socketServerAddress_ = "0.0.0.0:" + endpoint;
|
||||
}
|
||||
else
|
||||
{
|
||||
this->socketServerAddress_ = endpoint;
|
||||
}
|
||||
}
|
||||
|
||||
bool GetAccessPointGateway(boost::asio::ip::network_v4 *pGatewayNetwork) const {
|
||||
|
||||
Reference in New Issue
Block a user