@ -629,7 +629,7 @@ int Socket::lookup(const std::string& hostname, uint16_t port, sockaddr_storage&
/// <summary>
///
/// </summary>
/// <returns>Zero if no error during lookup, otherwise error.</returns>
/// <returns>Textual IP address for the local network interface.</returns>
std::string Socket::getLocalAddress()
{
struct ifaddrs *ifaddr, *ifa;
@ -1213,7 +1213,7 @@ void RESTAPI::restAPI_PutRegisterCCVC(const HTTPPayload& request, HTTPPayload& r
if (voiceCh.address() == "0.0.0.0") {
voiceCh.address(restAddress);
}
if (voiceCh.port() == 0U || voiceCh.port() == REST_API_DEFAULT_PORT) {
voiceCh.port(restPort);
Powered by TurnKey Linux.