diff options
author | brian <brian@FreeBSD.org> | 2001-07-03 22:20:19 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-07-03 22:20:19 +0000 |
commit | 0deba2c342284728c367d996a120510bed8a07a4 (patch) | |
tree | 753c521335e8c5586213ea14afc2e9e2080bf808 /usr.sbin/ppp/pred.c | |
parent | c6b698395d9dda67bfd2f061db42b9e6038c790b (diff) | |
download | FreeBSD-src-0deba2c342284728c367d996a120510bed8a07a4.zip FreeBSD-src-0deba2c342284728c367d996a120510bed8a07a4.tar.gz |
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.
Diffstat (limited to 'usr.sbin/ppp/pred.c')
-rw-r--r-- | usr.sbin/ppp/pred.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ppp/pred.c b/usr.sbin/ppp/pred.c index 47d9a8c..d1a5b53 100644 --- a/usr.sbin/ppp/pred.c +++ b/usr.sbin/ppp/pred.c @@ -340,6 +340,7 @@ const struct ccp_algorithm Pred1Algorithm = { Pred1DictSetup }, { + 0, Pred1InitOptsOutput, Pred1SetOptsOutput, Pred1InitOutput, |