fixed update of Tor proxy address in hidden nodes server page

This commit is contained in:
csoler 2017-03-15 19:26:07 +01:00
parent a0d1089559
commit 21143742fd
4 changed files with 13 additions and 3 deletions

View file

@ -1037,6 +1037,9 @@ bool p3Peers::setProxyServer(const uint32_t type, const std::string &addr_str, c
std::cerr << "(EE) attempt to set proxy server address to something not allowed: " << addr_str << ":" << port << std::endl;
return false ;
}
std::cerr << "Settign proxy server address to " << addr_str << ":" << port << std::endl;
struct sockaddr_storage addr;
struct sockaddr_in *addrv4p = (struct sockaddr_in *) &addr;
addrv4p->sin_family = AF_INET;