From owner-cvs-all Tue Jul 3 15:20:37 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 4106237B422; Tue, 3 Jul 2001 15:20:23 -0700 (PDT) (envelope-from brian@FreeBSD.org) Received: (from brian@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f63MKNl09496; Tue, 3 Jul 2001 15:20:23 -0700 (PDT) (envelope-from brian) Message-Id: <200107032220.f63MKNl09496@freefall.freebsd.org> From: Brian Somers Date: Tue, 3 Jul 2001 15:20:23 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/ppp bundle.c ccp.c ccp.h datalink.c deflate.c mp.c mppe.c pred.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG brian 2001/07/03 15:20:23 PDT Modified files: usr.sbin/ppp bundle.c ccp.c ccp.h datalink.c deflate.c mp.c mppe.c pred.c Log: Reduce the interface MTU by 2 when MPPE has been successfully negotiated. This is necessary because MPPE will combine the protocol id with the payload received on the tun interface, encrypt it, then prepend its own protocol id, effectively increasing the payload by two bytes. Revision Changes Path 1.118 +22 -6 src/usr.sbin/ppp/bundle.c 1.65 +32 -2 src/usr.sbin/ppp/ccp.c 1.28 +3 -1 src/usr.sbin/ppp/ccp.h 1.66 +3 -2 src/usr.sbin/ppp/datalink.c 1.22 +3 -1 src/usr.sbin/ppp/deflate.c 1.44 +8 -1 src/usr.sbin/ppp/mp.c 1.9 +2 -1 src/usr.sbin/ppp/mppe.c 1.32 +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