Date: Tue, 20 Jan 1998 14:47:51 -0800 (PST) From: Brian Somers <brian@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp ccp.c command.c fsm.c fsm.h ipcp.c lcp.c main.c main.h modem.c ppp.8 vars.c vars.h Message-ID: <199801202247.OAA04911@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 1998/01/20 14:47:51 PST
Modified files:
usr.sbin/ppp ccp.c command.c fsm.c fsm.h ipcp.c lcp.c
main.c main.h modem.c ppp.8 vars.c vars.h
Log:
Allow an optional delay when specifying "set openmode active".
The delay defaults to 1 sec (as it always has) unless we've done
a ~p in interactive mode or we've actually detected a HDLC frame.
This is now cleanly implemented (via async timers) so that it is
possible for LCP to come up despite the delay if an LCP REQ is
received.
This will hopefully solve situations with slow servers or slirp
scenarios (where ECHO is left on the port for a second or so before
the peer enters packet mode).
Also, ~p in interactive mode no longer changes the value of the default
openmode delay and -dedicated mode enters packet mode in the right state
according to the value of openmode.
Revision Changes Path
1.29 +6 -5 src/usr.sbin/ppp/ccp.c
1.129 +5 -6 src/usr.sbin/ppp/command.c
1.27 +31 -6 src/usr.sbin/ppp/fsm.c
1.15 +3 -3 src/usr.sbin/ppp/fsm.h
1.49 +5 -4 src/usr.sbin/ppp/ipcp.c
1.54 +10 -6 src/usr.sbin/ppp/lcp.c
1.118 +9 -13 src/usr.sbin/ppp/main.c
1.9 +2 -2 src/usr.sbin/ppp/main.h
1.75 +2 -2 src/usr.sbin/ppp/modem.c
1.96 +16 -5 src/usr.sbin/ppp/ppp.8
1.44 +3 -3 src/usr.sbin/ppp/vars.c
1.41 +2 -2 src/usr.sbin/ppp/vars.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801202247.OAA04911>
