joerg dbbd8a4744 Fix the handling of VJ uncompression. Unfortunately, tcp_uncompress()
makes the implied assumption there were another 128 bytes of space in
front of the packet handed off to it... which is not the case for
sppp.  This could easily end up in corrupting random memory.

This fix is about the same as revs 1.6, 1.8, and 1.9 from our
i4b_ispppsubr.c.

Also fixed IPCP option negotiation to zero out the options when
starting IPCP.  Otherwise, if negotiation parameters change between
various IPCP startups, it could happen that old options would still be
requested (this happened if VJ was turned off, and ended up in half
off the link still negotiating for VJ compression).

IMHO, the base system's sppp is now feature-wise up to date with the
one in the i4b part of the tree, so the latter can be disabled.

MFC after:	1 month
2001-12-30 16:13:35 +00:00
..
2001-12-15 12:32:23 +00:00
2001-12-29 07:13:47 +00:00
2001-12-22 09:29:03 +00:00
2001-12-30 09:59:02 +00:00
2001-11-07 19:55:16 +00:00
2001-12-29 07:13:47 +00:00
2001-12-15 20:53:15 +00:00
2001-12-22 01:35:44 +00:00
2001-09-12 08:38:13 +00:00
2001-12-29 08:49:28 +00:00