Module: sip-router
Branch: 3.2
Commit: c554684986be936ae1d76513fdc7202b0c117db9
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c554684…
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.
(cherry picked from commit 7665aefc966409588cca8e2a70d8a03e4d7a6fa1)
---
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);