mirror of
https://github.com/paulusmack/ppp.git
synced 2024-12-03 00:13:39 +08:00
upgrade looped-back message from debug statement to syslog warning
This commit is contained in:
parent
0e712663a2
commit
1acc38d1a8
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$Id: lcp.c,v 1.8 1994/05/30 02:38:49 paulus Exp $";
|
||||
static char rcsid[] = "$Id: lcp.c,v 1.9 1994/06/14 06:07:47 paulus Exp $";
|
||||
#endif
|
||||
|
||||
/*
|
||||
@ -816,7 +816,7 @@ lcp_nakci(f, p, len)
|
||||
if (f->state != OPENED) {
|
||||
*go = try;
|
||||
if (looped_back && try.numloops % lcp_warnloops == 0)
|
||||
LCPDEBUG((LOG_INFO, "The line appears to be looped back."));
|
||||
syslog(LOG_WARNING, "Serial line appears to be looped back.");
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user