diff options
Diffstat (limited to 'dns/powerdns/files/patch-pdns_tcpreceiver.cc')
-rw-r--r-- | dns/powerdns/files/patch-pdns_tcpreceiver.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/dns/powerdns/files/patch-pdns_tcpreceiver.cc b/dns/powerdns/files/patch-pdns_tcpreceiver.cc deleted file mode 100644 index 7d7baba77fdc..000000000000 --- a/dns/powerdns/files/patch-pdns_tcpreceiver.cc +++ /dev/null @@ -1,15 +0,0 @@ ---- pdns/tcpreceiver.cc.orig Sun Nov 19 16:11:25 2006 -+++ pdns/tcpreceiver.cc Sun Nov 19 16:13:27 2006 -@@ -480,10 +480,9 @@ - throw AhuException("Unable to acquire TCPv6 socket: "+stringerror()); - - sockaddr_in6 locala; -- locala.sin6_port=ntohs(arg().asNum("local-port")); -+ memset(&locala, 0, sizeof(locala)); -+ locala.sin6_port=htons(arg().asNum("local-port")); - locala.sin6_family=AF_INET6; -- locala.sin6_flowinfo=0; -- - - if(!inet_pton(AF_INET6, laddr->c_str(), (void *)&locala.sin6_addr)) { - addrinfo *addrinfos; |