aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/datalink.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-04-03 19:24:07 +0000
committerBrian Somers <brian@FreeBSD.org>1998-04-03 19:24:07 +0000
commitcd9647a100862f877a4459adffd24751a7026122 (patch)
tree3ebadb7aae17c2b023f39ca17d20387995f0146f /usr.sbin/ppp/datalink.c
parent3b0f8d2ed641ceeded11c0d3f253b0cacbf00880 (diff)
downloadsrc-cd9647a100862f877a4459adffd24751a7026122.tar.gz
src-cd9647a100862f877a4459adffd24751a7026122.zip
o Move default MRU, MTU, ACCMAP and OPENMODE config values into
struct lcp and display them in `show lcp'. o Remove `show mru' and `show mtu' and make the data part of `show lcp'. Also merge `set m[tr]u' and `set openmode' implementations into the SetVariable function. o `set timeout' only accepts the idle timer value as an argument. o Move our lqr period into struct lcp, and create a `set lqrperiod' command. Display it in `show lcp'. o Remove VarRetryTimeout, and implement it at the LCP, PAP, CHAP, CCP and IPCP levels, creating individual `set XXXretry' commands for each. They must be separate because they have different context requirements in multilink mode. o Display default config values in `show ccp'. o Tart the man page up a bit (wrt PPP/TCP, compression and LQR) and explain the new commands.
Notes
Notes: svn path=/cvs2svn/branches/MP/; revision=35010
Diffstat (limited to 'usr.sbin/ppp/datalink.c')
-rw-r--r--usr.sbin/ppp/datalink.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/datalink.c b/usr.sbin/ppp/datalink.c
index 89c9a7386254..a89e0abe3bc8 100644
--- a/usr.sbin/ppp/datalink.c
+++ b/usr.sbin/ppp/datalink.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: datalink.c,v 1.1.2.28 1998/03/25 00:59:33 brian Exp $
+ * $Id: datalink.c,v 1.1.2.29 1998/04/03 19:21:17 brian Exp $
*/
#include <sys/param.h>
@@ -179,8 +179,8 @@ datalink_LoginDone(struct datalink *dl)
hdlc_Init(&dl->physical->hdlc);
async_Init(&dl->physical->async);
- lcp_Setup(&dl->physical->link.lcp,
- dl->state == DATALINK_READY ? 0 : VarOpenMode);
+ lcp_Setup(&dl->physical->link.lcp, dl->state == DATALINK_READY ?
+ 0 : dl->physical->link.lcp.cfg.openmode);
ccp_Setup(&dl->physical->link.ccp);
LogPrintf(LogPHASE, "%s: Entering LCP state\n", dl->name);