Blame SOURCES/autofs-5.1.0-fix-incorrect-round-robin-host-detection.patch

304803
autofs-5.1.0 - fix incorrect round robin host detection
304803
304803
From: Ian Kent <raven@themaw.net>
304803
304803
304803
---
304803
 CHANGELOG            |    1 +
304803
 modules/replicated.c |    2 +-
304803
 2 files changed, 2 insertions(+), 1 deletion(-)
304803
304803
--- autofs-5.0.7.orig/CHANGELOG
304803
+++ autofs-5.0.7/CHANGELOG
304803
@@ -128,6 +128,7 @@
304803
 - allow empty value in macro selectors.
304803
 - add serialization to sasl init.
304803
 - dont allocate dev_ctl_ops too early.
304803
+- fix incorrect round robin host detection.
304803
 
304803
 25/07/2012 autofs-5.0.7
304803
 =======================
304803
--- autofs-5.0.7.orig/modules/replicated.c
304803
+++ autofs-5.0.7/modules/replicated.c
304803
@@ -946,7 +946,7 @@ try_name:
304803
 	}
304803
 
304803
 	this = ni;
304803
-	while (this->ai_next) {
304803
+	while (this) {
304803
 		if (this->ai_family == AF_INET) {
304803
 			struct sockaddr_in *addr = (struct sockaddr_in *) this->ai_addr;
304803
 			if (addr->sin_addr.s_addr != INADDR_LOOPBACK)