From: Peter van Dijk Date: Tue, 17 Feb 2015 16:26:41 +0000 (+0100) Subject: avoid fbsd10 build failure, thanks @rubenk X-Git-Tag: dnsdist-1.0.0-alpha1~278 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4355c3eaa4807fdd91c3a864caebd37d667f203f;p=pdns avoid fbsd10 build failure, thanks @rubenk --- diff --git a/pdns/unix_utility.cc b/pdns/unix_utility.cc index 13c2c54ed..673e9098f 100644 --- a/pdns/unix_utility.cc +++ b/pdns/unix_utility.cc @@ -118,7 +118,7 @@ void Utility::setBindAny(int af, sock_t sock) #ifdef IP_BINDANY if (af == AF_INET) - if (setsockopt(s, IPPROTO_IP, IP_BINDANY, &one, sizeof(one)) < 0) + if (setsockopt(sock, IPPROTO_IP, IP_BINDANY, &one, sizeof(one)) < 0) theL()<