INN commit: trunk/authprogs (radius.c)

INN Commit rra at isc.org
Sat Apr 2 20:10:34 UTC 2016


    Date: Saturday, April 2, 2016 @ 13:10:33
  Author: iulius
Revision: 9989

authprogs/radius.c:  fix support for multiple radius servers

Fix commit [5314].

Modified:
  trunk/authprogs/radius.c

----------+
 radius.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Modified: radius.c
===================================================================
--- radius.c	2016-03-28 17:47:40 UTC (rev 9988)
+++ radius.c	2016-04-02 20:10:33 UTC (rev 9989)
@@ -481,10 +481,9 @@
 	}
 	/* FINALLY!  Got back a known-good packet.  See if we're in. */
 	close(sock);
+        done = 1;
+        req_copyfrom(sreq, &req);
 	return (req.code == PW_AUTHENTICATION_ACK) ? 0 : -1;
-	done = 1;
-	req_copyfrom(sreq, &req);
-	break;
       }
     }
     if (authtries == 0)



More information about the inn-committers mailing list