INN commit: branches/2.6/authprogs (radius.c)

INN Commit rra at isc.org
Sun Apr 3 13:34:28 UTC 2016


    Date: Sunday, April 3, 2016 @ 06:34:28
  Author: iulius
Revision: 10001

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

Modified:
  branches/2.6/authprogs/radius.c

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

Modified: radius.c
===================================================================
--- radius.c	2016-04-03 13:30:45 UTC (rev 10000)
+++ radius.c	2016-04-03 13:34:28 UTC (rev 10001)
@@ -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