]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 4065: round-robin neighbor selection with unequal weights
authorMike Mitchell <mike.mitchell@sas.com>
Tue, 3 Jun 2014 06:49:46 +0000 (00:49 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 3 Jun 2014 06:49:46 +0000 (00:49 -0600)
src/neighbors.cc

index bd9a407ba755b8e1b30cfeb6ff9703595c16ebf6..6a9abad7e64546e01f21332c62696ab9165dc8da 100644 (file)
@@ -432,7 +432,7 @@ peerClearRR()
 {
     CachePeer *p = NULL;
     for (p = Config.peers; p; p = p->next) {
-        p->rr_count = 0;
+        p->rr_count = 1;
     }
 }