autofs-5.0.3 - fix ifc buff size fix

From: Ian Kent <raven@themaw.net>

Correct setting of beffer size in alloc_ifreq().
---

 modules/replicated.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/modules/replicated.c b/modules/replicated.c
index ad1ede2..35a6675 100644
--- a/modules/replicated.c
+++ b/modules/replicated.c
@@ -108,7 +108,7 @@ static int alloc_ifreq(struct ifconf *ifc, int sock)
 			return 0;
 		}
 
-		ifc->ifc_len = sizeof(buf);
+		ifc->ifc_len = len;
 		ifc->ifc_req = (struct ifreq *) buf;
 
 		ret = ioctl(sock, SIOCGIFCONF, ifc);
