]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make the way FSM options are processed easier to read by using structures
authorBrian Somers <brian@FreeBSD.org>
Tue, 16 Apr 2002 23:57:09 +0000 (23:57 +0000)
committerBrian Somers <brian@FreeBSD.org>
Tue, 16 Apr 2002 23:57:09 +0000 (23:57 +0000)
commitff360cc91b8564829313e547b9827ce8850ea304
tree5b0847031a0b3f8cbd6098a3ecd67ce4673d2eca
parent28395f954370add28190612f942cbba9831df534
Make the way FSM options are processed easier to read by using structures
instead of u_char *.

The changes are cosmetic except:

  RecvConfigAck() now displays the options that are being ACK'd
  Huge (bogus) options sent from the peer won't cause an infinite loop
  SendIdent and ReceiveIdent are displayed consistenlty with other FSM data
  LCP AUTHPROTO options that aren't understood are NAK'd, not REJ'd
12 files changed:
usr.sbin/ppp/ccp.c
usr.sbin/ppp/ccp.h
usr.sbin/ppp/command.c
usr.sbin/ppp/deflate.c
usr.sbin/ppp/fsm.c
usr.sbin/ppp/fsm.h
usr.sbin/ppp/ipcp.c
usr.sbin/ppp/ipv6cp.c
usr.sbin/ppp/lcp.c
usr.sbin/ppp/lcp.h
usr.sbin/ppp/mppe.c
usr.sbin/ppp/pred.c