PATCH: fixing log messages in rlm_sqlippool

Коньков Евгений kes-kes at yandex.ru
Tue Dec 20 06:56:38 CET 2011


rlm_sqlippool.c

                if ((data->allocate_find == NULL) ||.
            (strlen(data->allocate_find) == 0)) {
-                radlog(L_ERR, "rlm_sqlippool: the 'allocate_find' statement must be set.");
+                radlog(L_ERR, "rlm_sqlippool: the 'allocate-find' statement must be set.");
                sqlippool_detach(data);
                return -1;
        }

        if ((data->allocate_update == NULL) ||
            (strlen(data->allocate_update) == 0)) {
-                radlog(L_ERR, "rlm_sqlippool: the 'allocate_update' statement must be set.");
+                radlog(L_ERR, "rlm_sqlippool: the 'allocate-update' statement must be set.");
                sqlippool_detach(data);
                return -1;
        }





More information about the Freeradius-Users mailing list