consistent with chap/pap failed authentication log level. (And it doesn't
merit "error".)
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#define RCSID "$Id: chap.c,v 1.35 2002/10/12 01:28:05 fcusack Exp $"
+#define RCSID "$Id: chap.c,v 1.36 2002/10/12 02:30:21 fcusack Exp $"
if (!auth_number()) {
/* We do not want to leak info about the chap result. */
code = CHAP_FAILURE; /* XXX exit value will be "wrong" */
if (!auth_number()) {
/* We do not want to leak info about the chap result. */
code = CHAP_FAILURE; /* XXX exit value will be "wrong" */
- error("calling number %q is not authorized", remote_number);
+ warn("calling number %q is not authorized", remote_number);
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#define RCSID "$Id: main.c,v 1.115 2002/10/12 01:28:05 fcusack Exp $"
+#define RCSID "$Id: main.c,v 1.116 2002/10/12 02:30:21 fcusack Exp $"
#include <stdio.h>
#include <ctype.h>
#include <stdio.h>
#include <ctype.h>
* Early check for remote number authorization.
*/
if (!auth_number()) {
* Early check for remote number authorization.
*/
if (!auth_number()) {
- error("calling number %q is not authorized", remote_number);
+ warn("calling number %q is not authorized", remote_number);
exit(EXIT_CNID_AUTH_FAILED);
}
exit(EXIT_CNID_AUTH_FAILED);
}
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
* 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 $"
if (!auth_number()) {
/* We do not want to leak info about the pap result. */
retcode = UPAP_AUTHNAK; /* XXX exit value will be "wrong" */
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);