Dale <[email protected]> ha escrit:

> Sorry for replying to the digest... forgot to change the mode before I
> posted.

No problem.

> No, I don't use it that I know of.  Everything appears to be working
> that is.  I do have some Rewrite-Function(s) in my hints file, is a
> Rewrite-Function guile?

No, it is not. There seems to be a minor bug which triggers this
condition. Please try the attached patch. Let me know if it works
for you.

Regards,
Sergey

diff --git a/radiusd/files.c b/radiusd/files.c
index dd18414..707af6c 100644
--- a/radiusd/files.c
+++ b/radiusd/files.c
@@ -784,7 +784,8 @@ hints_setup(radiusd_request_t *req)
 		   attributes */
 		exec_program_wait (req, rule->rhs, &add, NULL);
 #ifdef USE_SERVER_GUILE
-		scheme_eval_avl (req, rule->lhs, rule->rhs, &add, NULL);
+		if (use_guile)
+			scheme_eval_avl (req, rule->lhs, rule->rhs, &add, NULL);
 #endif
 		/* Evaluate hints */
 		radius_eval_avl(req, add); /*FIXME: return value?*/
_______________________________________________
Help-gnu-radius mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-radius

Reply via email to