]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/upap.c
Log calling number failed authorization at warn instead of error, to be
[ppp.git] / pppd / upap.c
index 50a78a2d221657c2e6e15bb3cb314835de203b5b..135db0a22310145d2600ddd98e9aac6c897065f0 100644 (file)
@@ -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);
        }
     }