]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix compile error in non-split-stack builds
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 18 Jul 2009 14:08:46 +0000 (02:08 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 18 Jul 2009 14:08:46 +0000 (02:08 +1200)
src/dns_internal.cc

index c5fb5a8dca73d5d20b84da4e4c869390d8f8b305..c3ca3df8770337ddd91f4b46749a0c2f3c3caa8d 100644 (file)
@@ -1410,7 +1410,11 @@ idnsInit(void)
 #endif
         if (DnsSocketA >= 0) {
             port = comm_local_port(DnsSocketA);
+#if IPV6_SPECIAL_SPLITSTACK
             debugs(78, 1, "DNS Socket created at " << addr4 << ", FD " << DnsSocketA);
+#else
+            debugs(78, 1, "DNS Socket created at " << addr << ", FD " << DnsSocketA);
+#endif
         }
     }