diff options
author | brian <brian@FreeBSD.org> | 1997-06-01 11:35:04 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-06-01 11:35:04 +0000 |
commit | a58162b8e7c725f55526b3ebffa310740ddb2ef5 (patch) | |
tree | be7efb59c81d192b18891260976c293a8fbe25d5 /usr.sbin/ppp/hdlc.h | |
parent | 370210159e6f643b7b44f7dd1e1c2f2205b9c55e (diff) | |
download | FreeBSD-src-a58162b8e7c725f55526b3ebffa310740ddb2ef5.zip FreeBSD-src-a58162b8e7c725f55526b3ebffa310740ddb2ef5.tar.gz |
Reduce MAX_M[RT]U back to 2048. Even on a null-modem
ppp link, we gain nothing with a larger mtu.
Suggested by: joerg
Fix pred1 buffer size (must be == MAX_MTU)
Diffstat (limited to 'usr.sbin/ppp/hdlc.h')
-rw-r--r-- | usr.sbin/ppp/hdlc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/hdlc.h b/usr.sbin/ppp/hdlc.h index 683d02e..c0789b0 100644 --- a/usr.sbin/ppp/hdlc.h +++ b/usr.sbin/ppp/hdlc.h @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: hdlc.h,v 1.6 1997/02/22 16:10:17 peter Exp $ + * $Id: hdlc.h,v 1.7 1997/06/01 01:13:02 brian Exp $ * * TODO: */ @@ -39,11 +39,11 @@ #define GOODFCS 0xf0b8 /* Good FCS value */ #define DEF_MRU 1500 -#define MAX_MRU 16384 +#define MAX_MRU 2048 #define MIN_MRU 296 #define DEF_MTU 0 /* whatever peer says */ -#define MAX_MTU 16384 +#define MAX_MTU 2048 #define MIN_MTU 296 /* |