From d9b33de6835bce9b223b3ab9e8350c5d5ba5fc0e Mon Sep 17 00:00:00 2001 From: bert hubert Date: Fri, 13 Apr 2018 13:39:59 +0200 Subject: [PATCH] fix up ipv6 address output --- tdns/tdns.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdns/tdns.cc b/tdns/tdns.cc index 30f4a97..261c02b 100644 --- a/tdns/tdns.cc +++ b/tdns/tdns.cc @@ -353,7 +353,7 @@ try thread udpServer(udpThread, local, &udplistener, &zones); for(;;) { - ComboAddress remote; + ComboAddress remote(local); // so it has room for IPv6 int client = SAccept(tcplistener, remote); thread t(tcpClientThread, local, remote, client, &zones); t.detach();