From: Amos Jeffries Date: Tue, 20 Apr 2010 12:51:57 +0000 (+1200) Subject: Compile error in ModTcp update. X-Git-Tag: SQUID_3_2_0_1~282 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0a27ace56e14d6b1fc5a589bf4d2d63b79867be2;p=thirdparty%2Fsquid.git Compile error in ModTcp update. --- diff --git a/src/log/ModTcp.cc b/src/log/ModTcp.cc index f5cc1ab06f..8fef051459 100644 --- a/src/log/ModTcp.cc +++ b/src/log/ModTcp.cc @@ -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");