From owner-cvs-usrsbin Thu Mar 12 17:01:50 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA12494 for cvs-usrsbin-outgoing; Thu, 12 Mar 1998 17:01:50 -0800 (PST) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA12362; Thu, 12 Mar 1998 17:00:39 -0800 (PST) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA29794; Thu, 12 Mar 1998 16:58:11 -0800 (PST) Date: Thu, 12 Mar 1998 16:58:11 -0800 (PST) Message-Id: <199803130058.QAA29794@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp command.c hdlc.c lqr.c ppp.8 Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1998/03/12 16:58:10 PST Modified files: (Branch: RELENG_2_2) usr.sbin/ppp command.c hdlc.c lqr.c ppp.8 Log: MFC: o Fix a few comment typos. o Fix ``set timeout'' usage message and documentation. o Change ifOutPackets, ifOutOctets and ifOutLQRs to `u_int32_t's so that they wrap correctly. o Put the LQR in network byte order using the correct struct size (sizeof u_int32_t, not sizeof u_long). o Wrap LQR ECHO counters correctly. o Don't increment OutLQR count if the last LQR hasn't been replied to. o Initialise HisLqrData (last received LQR) in StartLqm. o Don't start the LQR timer if we're `disabled' and `accepted'. o Generate LQR responses when both sides are using a timer and we're not going to send our next LQR before the peers max timeout. o Don't send LQRs when the peer has LCP REJ'd them. Send ECHO LQRs instead. Ok'd by: jkh Revision Changes Path 1.24.2.49 +4 -4 src/usr.sbin/ppp/command.c 1.9.2.8 +15 -6 src/usr.sbin/ppp/hdlc.c 1.7.2.10 +40 -31 src/usr.sbin/ppp/lqr.c 1.19.2.36 +7 -5 src/usr.sbin/ppp/ppp.8