[OpenSIPS-Users] Fix for the freeradius patch (within cdrtool) for version 1.1.7
Adrian Georgescu
ag at ag-projects.com
Fri Jan 23 13:03:55 CET 2009
Just to double check where did you get the latest sources from?
Adrian
On Jan 23, 2009, at 12:34 PM, Joan wrote:
> When following the details on how to compile freeradius with to
> support cdrtool from CDRTool/setup/radius/FreeRadius/readme.txt
>
> The patch there applies cleanly, there's only a issue when applying
> the patch I attached to the mail, because it is already fixed in 1.1.7
> version. Other than that, the patch applies cleanly.
>
> --- freeradius.orig/src/modules/rlm_sql/drivers/rlm_sql_mysql/
> sql_mysql.c
> 2005-12-09 17:10:08.000000000 +0100
> +++ freeradius.new/src/modules/rlm_sql/drivers/rlm_sql_mysql/
> sql_mysql.c
> 2006-12-12 23:59:11.000000000 +0100
> @@ -82,7 +82,7 @@
> config->sql_db,
> atoi(config-
> >sql_port),
> NULL,
> -
> CLIENT_FOUND_ROWS))) {
> +
> CLIENT_FOUND_ROWS|CLIENT_MULTI_RESULTS))) {
> radlog(L_ERR, "rlm_sql_mysql: Couldn't connect socket
> to MySQL server %s@%s:%s", config->sql_login, config->sql_server,
> config->sql_db);
> radlog(L_ERR, "rlm_sql_mysql: Mysql error '%s'",
> mysql_error(&mysql_sock->conn));
> mysql_sock->sock = NULL;
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090123/aabfeef2/attachment.htm
More information about the Users
mailing list