]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Revert r9281. fubar.
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 12 Oct 2008 10:49:30 +0000 (23:49 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 12 Oct 2008 10:49:30 +0000 (23:49 +1300)
src/comm.cc

index 2b09e3c99e684693cba1df6f83e355d46c019a3b..98d262699ace2a6f5b3ed6146995950cb543c19f 100644 (file)
@@ -778,8 +778,7 @@ comm_openex(int sock_type,
         comm_set_transparent(new_socket);
     }
 
-    /* only re-bind if given a valid routable address. */
-    if (!addr.IsAnyAddr() && !addr.IsNoAddr())
+    if (!addr.IsNoAddr())
     {
         if (commBind(new_socket, *AI) != COMM_OK) {
             comm_close(new_socket);