summaryrefslogtreecommitdiff
path: root/pppd/upap.c
diff options
context:
space:
mode:
authorFrank Cusack <fcusack@fcusack.com>2002-10-12 02:30:21 +0000
committerFrank Cusack <fcusack@fcusack.com>2002-10-12 02:30:21 +0000
commit9b5e4bcdc6e25f18d20200af78df94d695e428ac (patch)
tree0b2c3f9162a4d468809e329cd1d505d0aad7a22c /pppd/upap.c
parentcccb82a2e9bbc20f343bf4ef7550f79566f84758 (diff)
downloadppp-9b5e4bcdc6e25f18d20200af78df94d695e428ac.tar.gz
Log calling number failed authorization at warn instead of error, to be
consistent with chap/pap failed authentication log level. (And it doesn't merit "error".)
Diffstat (limited to 'pppd/upap.c')
-rw-r--r--pppd/upap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pppd/upap.c b/pppd/upap.c
index 50a78a2..135db0a 100644
--- a/pppd/upap.c
+++ b/pppd/upap.c
@@ -17,7 +17,7 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#define RCSID "$Id: upap.c,v 1.27 2002/10/12 01:28:05 fcusack Exp $"
+#define RCSID "$Id: upap.c,v 1.28 2002/10/12 02:30:21 fcusack Exp $"
/*
* TODO:
@@ -412,7 +412,7 @@ upap_rauthreq(u, inp, id, len)
if (!auth_number()) {
/* We do not want to leak info about the pap result. */
retcode = UPAP_AUTHNAK; /* XXX exit value will be "wrong" */
- error("calling number %q is not authorized", remote_number);
+ warn("calling number %q is not authorized", remote_number);
}
}