Hello again,

On wed., Dec 22, 2009, Michael Schloh von Bennewitz wrote:
>Index: modules/aaa_radius/rad.c
>diff -Nau modules/aaa_radius/rad.c.orig modules/aaa_radius/rad.c
>--- modules/aaa_radius/rad.c.orig      2009-12-10 19:57:33.000000000 +0100
>+++ modules/aaa_radius/rad.c   2009-12-22 13:28:05.852461686 +0100
>@@ -273,9 +273,14 @@
>                               return -1;
>                       }
>               }
>-
>-              LM_ERR("rc_auth function failed\n");
>-              return -1;
>+              else if (result == TIMEOUT_RC || result == REJECT_RC) {
>+                      LM_DBG("rc_auth function succeeded with result %d\n", 
>result);
>+                      return -1;
>+              }
>+              else /* if (result == ERROR_RC || result == BADRESP_RC) */ {
>+                      LM_ERR("rc_auth function failed with result %d\n", 
>result);
>+                      return -1;
>+              }
>       }
> 
>       if (request->type == AAA_ACCT) {
>
Excuse me, the 'return -1' after 'rc_auth function succeeded...'
should be 'return 0' or 'return OK_RC' of course. Merry christmas.

Cheers,
Michael

-- 
Michael Schloh von Bennewitz
http://michael.schloh.com/

_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to