OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Claudio Jeker (claudiocvs.openbsd.org)
Date: Tue Dec 04 2007 - 13:49:52 CST


CVSROOT: /cvs
Module name: src
Changes by: claudiocvs.openbsd.org 2007/12/04 12:49:52

Modified files:
        sys/net : if_sppp.h if_spppsubr.c

Log message:
1500 is a 'magic number' in the protocol that all implementations
must be able to handle as MRU but while testing pppoe(4) against a pppoe(8)
server I figured out that pppoe(8) insists on a MRU 1492. Because of this
we allow the offered MRU to be between PP_MIN_MRU and PP_MAX_MRU especially
because the MRU is not used at all as long as it is smaller then PP_MAX_MRU.
OK canacar