Module: sip-router
Branch: master
Commit: 7665aefc966409588cca8e2a70d8a03e4d7a6fa1
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7665aef…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Wed May 9 07:42:14 2012 +0300
modules_k/auth_radius: fixed typo in README
- Fixed authorization return code for authorization failed. It should
be 2 instead of 3. Reported by Ricardo Martinez.
---
modules_k/auth_radius/README | 2 +-
modules_k/auth_radius/doc/auth_radius_admin.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules_k/auth_radius/README b/modules_k/auth_radius/README
index f44d94e..1875408 100644
--- a/modules_k/auth_radius/README
+++ b/modules_k/auth_radius/README
@@ -227,7 +227,7 @@ modparam("auth_radius", "use_ruri_flag", 22)
* -6 (nonce reused) - nonce is used more than once;
* -5 (no credentials) - credentials were not found in request;
* -4 (stale nonce) - stale nonce;
- * -3 (authorization failed) - RADIUS responded with Access Reject
+ * -2 (authorization failed) - RADIUS responded with Access Reject
which may be, for example, due to user not found or wrong password;
* -1 (error) - some error occured during authorization (see syslog);
diff --git a/modules_k/auth_radius/doc/auth_radius_admin.xml
b/modules_k/auth_radius/doc/auth_radius_admin.xml
index becb3fe..5deb681 100644
--- a/modules_k/auth_radius/doc/auth_radius_admin.xml
+++ b/modules_k/auth_radius/doc/auth_radius_admin.xml
@@ -226,7 +226,7 @@ modparam("auth_radius", "use_ruri_flag", 22)
<emphasis>-4 (stale nonce)</emphasis> - stale nonce;
</para></listitem>
<listitem><para>
- <emphasis>-3 (authorization failed)</emphasis> - RADIUS responded with
Access Reject which may be, for example, due to user not found or wrong password;
+ <emphasis>-2 (authorization failed)</emphasis> - RADIUS responded with
Access Reject which may be, for example, due to user not found or wrong password;
</para></listitem>
<listitem><para>
<emphasis>-1 (error)</emphasis> - some error occured during authorization
(see syslog);