mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 09:02:44 +00:00
Work around the problem that our -current pppd can no longer talk
with our iijppp as a client. Simply shut down the CCP layer if no matching protocol could be found. Reviewed by: peter
This commit is contained in:
parent
c9a41a43bc
commit
e522d8a28f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14411
@ -26,7 +26,7 @@
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$Id: ccp.c,v 1.2 1995/10/31 21:20:49 peter Exp $";
|
||||
static char rcsid[] = "$Id: ccp.c,v 1.3 1995/10/31 21:29:19 peter Exp $";
|
||||
#endif
|
||||
|
||||
#include <syslog.h>
|
||||
@ -497,6 +497,10 @@ ccp_up(f)
|
||||
syslog(LOG_NOTICE, "%s enabled",
|
||||
go->bsd_compress? ho->bsd_compress? "Compression":
|
||||
"Receive compression": "Transmit compression");
|
||||
if (!ANY_COMPRESS(ccp_gotoptions[f->unit])) {
|
||||
syslog(LOG_NOTICE, "No matching compression scheme, CCP disabled");
|
||||
ccp_close(f->unit);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user