]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix build issue in WCCPv1 handshake port.
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 1 May 2010 02:39:57 +0000 (14:39 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 1 May 2010 02:39:57 +0000 (14:39 +1200)
src/wccp.cc

index 5221bef62dd220fe955663e47097829cb33c083f..e50244556d77c26cd371161cc373eef44df35935 100644 (file)
@@ -291,7 +291,7 @@ wccpLowestIP(void)
         if (local_ip > wccp_i_see_you.wccp_cache_entry[loop].ip_addr)
             return 0;
 
-        if (wccp_i_see_you.wccp_cache_entry[loop].ip_addr == local_ip)
+        if (local_ip == wccp_i_see_you.wccp_cache_entry[loop].ip_addr)
             found = 1;
     }