]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
If the peer REJects our MRU REQ, stop REQing it -- *EVEN* if we're
authorbrian <brian@FreeBSD.org>
Mon, 30 Jul 2001 17:04:39 +0000 (17:04 +0000)
committerbrian <brian@FreeBSD.org>
Mon, 30 Jul 2001 17:04:39 +0000 (17:04 +0000)
commit635801f2ed30a54a361156e6955a3e391ec79353
treeb3d5a97b275b83e6b5e868433a6ee6192348b0ee
parent5f7f94bf12427f0150126c3c11b9a7dc1915d931
If the peer REJects our MRU REQ, stop REQing it -- *EVEN* if we're
doing PPPoE and the default MRU is therefore too big.

When negotiating with win2k, we ask for MRU 1492 and the win2k box
NAKs us saying ``MRU 1492''.  This doesn't make sense to me.  When
we continue to request MRU 1492, the win2k box eventually REJs our
MRU.  This fix allows negotiations to continue at that point,
bringing the link up and potentially allowing the win2k box to send
us frames that are too large.  AFAICT this is better than failing
to bring the link up.... probably !

I have no idea how to do the equivalent of ``route get'' or
``ifconfig -a'' under win2k, so I can't tell what MTU it actually
ends up using.

I believe the bug is in win2k (it's certainly mis-negotiating).
I'll MFC given the release engineers permission as code freeze
begins on August 1.

PR: 29277
MFC after: 3 days
usr.sbin/ppp/lcp.c