From d870d8f7983fec640b2f494c01495c463b10af6c Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Tue, 11 Sep 2018 11:10:41 +0200 Subject: [PATCH] dnsdist: Fix compilation when SO_REUSEPORT is not defined Reported by Yuni Kim, thanks a lot! --- pdns/dnsdist.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdist.cc b/pdns/dnsdist.cc index 39018f851..a74816202 100644 --- a/pdns/dnsdist.cc +++ b/pdns/dnsdist.cc @@ -2610,7 +2610,7 @@ try #ifdef SO_REUSEPORT SSetsockopt(cs->tcpFD, SOL_SOCKET, SO_REUSEPORT, 1); #else - warnlog("SO_REUSEPORT has been configured on local address '%s' but is not supported", cs.local.toStringWithPort()); + warnlog("SO_REUSEPORT has been configured on local address '%s' but is not supported", cs->local.toStringWithPort()); #endif } if(cs->local.sin4.sin_family == AF_INET6) { -- 2.40.0