From 238b01d8983ac2ab5cd2a967ec0b68050704f094 Mon Sep 17 00:00:00 2001 From: brian Date: Fri, 3 Aug 2001 09:28:21 +0000 Subject: Warn when a CHAP81 SUCCESS packet is invalid due to an incorrect S= value. --- usr.sbin/ppp/chap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/ppp/chap.c b/usr.sbin/ppp/chap.c index 71121b7..73ea4a0 100644 --- a/usr.sbin/ppp/chap.c +++ b/usr.sbin/ppp/chap.c @@ -902,8 +902,8 @@ chap_Input(struct bundle *bundle, struct link *l, struct mbuf *bp) if (p->link.lcp.his_authtype == 0x81) { if (strncmp(ans, chap->authresponse, 42)) { datalink_AuthNotOk(p->dl); - log_Printf(LogDEBUG, "CHAP81: AuthenticatorResponse: (%s)" - " != ans: (%s)\n", chap->authresponse, ans); + log_Printf(LogWARN, "CHAP81: AuthenticatorResponse: (%.42s)" + " != ans: (%.42s)\n", chap->authresponse, ans); } else { /* Successful login */ -- cgit v1.1