]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/main.c
Log calling number failed authorization at warn instead of error, to be
[ppp.git] / pppd / main.c
index 4fb985b89a010440c86bb6bf367604afae3b6448..b4271f837087e520f12f19b36da3370f44f5ba89 100644 (file)
@@ -17,7 +17,7 @@
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#define RCSID  "$Id: main.c,v 1.114 2002/10/10 05:47:34 fcusack Exp $"
+#define RCSID  "$Id: main.c,v 1.116 2002/10/12 02:30:21 fcusack Exp $"
 
 #include <stdio.h>
 #include <ctype.h>
@@ -366,7 +366,7 @@ main(argc, argv)
      * Early check for remote number authorization.
      */
     if (!auth_number()) {
-       error("remote number %s is not authorized", remote_number);
+       warn("calling number %q is not authorized", remote_number);
        exit(EXIT_CNID_AUTH_FAILED);
     }