summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>1995-12-11 05:17:42 +0000
committerPaul Mackerras <paulus@samba.org>1995-12-11 05:17:42 +0000
commit95753736478551e84b6be6bd1be8962c27638a19 (patch)
tree912f0be3d6adb0a711dc3d9023d0585c522d472f
parent7005827d79039deaac4646047fb08992e47d6b59 (diff)
downloadppp-95753736478551e84b6be6bd1be8962c27638a19.tar.gz
say PAP instead of UPAP
-rw-r--r--pppd/auth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pppd/auth.c b/pppd/auth.c
index aca60b5..4ac139d 100644
--- a/pppd/auth.c
+++ b/pppd/auth.c
@@ -33,7 +33,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: auth.c,v 1.18 1995/10/27 03:39:53 paulus Exp $";
+static char rcsid[] = "$Id: auth.c,v 1.19 1995/12/11 05:17:42 paulus Exp $";
#endif
#include <stdio.h>
@@ -391,7 +391,7 @@ check_passwd(unit, auser, userlen, apasswd, passwdlen, msg, msglen)
f = fopen(filename, "r");
if (f == NULL) {
if (!uselogin) {
- syslog(LOG_ERR, "Can't open upap password file %s: %m", filename);
+ syslog(LOG_ERR, "Can't open PAP password file %s: %m", filename);
ret = UPAP_AUTHNAK;
}
@@ -400,7 +400,7 @@ check_passwd(unit, auser, userlen, apasswd, passwdlen, msg, msglen)
if (scan_authfile(f, user, our_name, secret, &addrs, filename) < 0
|| (secret[0] != 0 && (cryptpap || strcmp(passwd, secret) != 0)
&& strcmp(crypt(passwd, secret), secret) != 0)) {
- syslog(LOG_WARNING, "upap authentication failure for %s", user);
+ syslog(LOG_WARNING, "PAP authentication failure for %s", user);
ret = UPAP_AUTHNAK;
}
fclose(f);
@@ -409,7 +409,7 @@ check_passwd(unit, auser, userlen, apasswd, passwdlen, msg, msglen)
if (uselogin && ret == UPAP_AUTHACK) {
ret = login(user, passwd, msg, msglen);
if (ret == UPAP_AUTHNAK) {
- syslog(LOG_WARNING, "upap login failure for %s", user);
+ syslog(LOG_WARNING, "PAP login failure for %s", user);
}
}