From owner-cvs-all Sun Feb 4 14:53:31 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E973F37B401; Sun, 4 Feb 2001 14:53:11 -0800 (PST) Received: (from brian@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f14MrB580934; Sun, 4 Feb 2001 14:53:11 -0800 (PST) (envelope-from brian) Message-Id: <200102042253.f14MrB580934@freefall.freebsd.org> From: Brian Somers Date: Sun, 4 Feb 2001 14:53:11 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/ppp ccp.c ccp.h deflate.c mppe.c pred.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG brian 2001/02/04 14:53:11 PST Modified files: usr.sbin/ppp ccp.c ccp.h deflate.c mppe.c pred.c Log: Add a ``Usable'' function to the ccp switch. The function is called prior to sending a CCP configure request for a given protocol. The default is to send the request, but this is overridden for MPPE which checks to see if the lcp negotiations agreed CHAP81, and if not fails. Use the same function to decide if we should reject peer requests for MPPE. This should get rid of those boring messages about not being able to initialise MPPE when we don't negotiate CHAP81. Revision Changes Path 1.62 +10 -2 src/usr.sbin/ppp/ccp.c 1.25 +3 -1 src/usr.sbin/ppp/ccp.h 1.20 +4 -2 src/usr.sbin/ppp/deflate.c 1.7 +21 -1 src/usr.sbin/ppp/mppe.c 1.30 +2 -1 src/usr.sbin/ppp/pred.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message