Radius CVS bug

Dinko Korunic kreator at esa.fer.hr
Thu Jul 21 16:46:57 CEST 2005


I believe that rlm_sql.c in current CVS has got a small typo with
mainconfig.client_trees. Trivial fix follows:

Index: rlm_sql.c
===================================================================
RCS file: /source/radiusd/src/modules/rlm_sql/rlm_sql.c,v
retrieving revision 1.145
diff -u -r1.145 rlm_sql.c
--- rlm_sql.c   18 Jul 2005 20:26:39 -0000      1.145
+++ rlm_sql.c   21 Jul 2005 14:44:58 -0000
@@ -381,7 +381,7 @@
                DEBUG("rlm_sql (%s): Adding client %s (%s) to clients list",
                      inst->config->xlat_name,
                      c->longname,c->shortname);
-               if (!client_add(mainconfig.client_trees, c)) {
+               if (!client_add(mainconfig.clients, c)) {
                        client_free(c);
                        return -1;
                }

Cheers,
D.

-- 
NAME:Dinko.kreator.Korunic      NOTE:Standard.disclaimer.applies
URL:kreator.esa.fer.hr   IRC:kre   ICQ:16965294   PGP:0xea160d0b



More information about the Freeradius-Users mailing list