]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Compile error in ModTcp update.
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 20 Apr 2010 12:51:57 +0000 (00:51 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 20 Apr 2010 12:51:57 +0000 (00:51 +1200)
src/log/ModTcp.cc

index f5cc1ab06f694e3cbabd85368a164ffa1fc37194..8fef05145975344394d6af2465753c645be20cd6 100644 (file)
@@ -188,7 +188,7 @@ logfile_mod_tcp_open(Logfile * lf, const char *path, size_t bufsz, int fatal_fla
 #if USE_IPV6
     // require the sending TCP port to be of the right family for the destination address.
     if (addr.IsIPv4())
-        no_addr.SetIPv4();
+        any_addr.SetIPv4();
 #endif
 
     ll->fd = comm_open(SOCK_STREAM, IPPROTO_TCP, any_addr, COMM_NONBLOCKING, "TCP log socket");