summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/lcp.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2002-05-01 07:49:07 +0000
committerbrian <brian@FreeBSD.org>2002-05-01 07:49:07 +0000
commite8c453a5436749499fc4a4d0780c347af988bcc8 (patch)
tree910d664d3e850c2f8416e97cf38822ee07dcea06 /usr.sbin/ppp/lcp.c
parentdd509e31ee4430348c759b8866aeda1a9196b0ff (diff)
downloadFreeBSD-src-e8c453a5436749499fc4a4d0780c347af988bcc8.zip
FreeBSD-src-e8c453a5436749499fc4a4d0780c347af988bcc8.tar.gz
Allow the peer to modify the LQR interval
Diffstat (limited to 'usr.sbin/ppp/lcp.c')
-rw-r--r--usr.sbin/ppp/lcp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ppp/lcp.c b/usr.sbin/ppp/lcp.c
index 5e96a19..3d90be9 100644
--- a/usr.sbin/ppp/lcp.c
+++ b/usr.sbin/ppp/lcp.c
@@ -945,6 +945,7 @@ LcpDecodeConfig(struct fsm *fp, u_char *cp, u_char *end, int mode_type,
}
break;
case MODE_NAK:
+ lcp->want_lqrperiod = ntohl(req->period);
break;
case MODE_REJ:
lcp->his_reject |= (1 << opt->hdr.id);
OpenPOWER on IntegriCloud