fix up ipv6 address output
This commit is contained in:
@ -353,7 +353,7 @@ try
|
|||||||
thread udpServer(udpThread, local, &udplistener, &zones);
|
thread udpServer(udpThread, local, &udplistener, &zones);
|
||||||
|
|
||||||
for(;;) {
|
for(;;) {
|
||||||
ComboAddress remote;
|
ComboAddress remote(local); // so it has room for IPv6
|
||||||
int client = SAccept(tcplistener, remote);
|
int client = SAccept(tcplistener, remote);
|
||||||
thread t(tcpClientThread, local, remote, client, &zones);
|
thread t(tcpClientThread, local, remote, client, &zones);
|
||||||
t.detach();
|
t.detach();
|
||||||
|
Reference in New Issue
Block a user