aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/ipcp.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-05-23 22:24:50 +0000
committerBrian Somers <brian@FreeBSD.org>1998-05-23 22:24:50 +0000
commit0f2f3eb39529ac52402b20eeca35857885301c4e (patch)
treed62fe1454375d254cb5850db39cab2174a465d67 /usr.sbin/ppp/ipcp.c
parent86b1f0d762ae636d69499aa77e50c36e7f0c52ef (diff)
downloadsrc-0f2f3eb39529ac52402b20eeca35857885301c4e.tar.gz
src-0f2f3eb39529ac52402b20eeca35857885301c4e.zip
o Move our prompt descriptor list outside of the bundle.
It's now dealt with by the `server' object. This simplifies things as we only have one list of prompt descriptors and the log_ routines check prompt::logactive to determine whether it should be used for output. o Include the MP socket UpdateSet() result in bundle::UpdateSet(). o Don't select on the tun device unless we're in NETWORK phase or AUTO mode. o Stop the idle timer when we go to DEAD phase. We may have transferred a link and not had a chance to kill it. o Don't fail when trying to unlink our transferred datalink from our descriptor lists just before the transfer. o Add our link descriptor to the write set if we got a short write the last time (physical::out is set). o Log the connection source address when a connection is closed. o Remove descriptor::next field. Descriptor lists are not required any more.
Notes
Notes: svn path=/head/; revision=36314
Diffstat (limited to 'usr.sbin/ppp/ipcp.c')
-rw-r--r--usr.sbin/ppp/ipcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ipcp.c b/usr.sbin/ppp/ipcp.c
index 015da503c04e..444e93c10f80 100644
--- a/usr.sbin/ppp/ipcp.c
+++ b/usr.sbin/ppp/ipcp.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: ipcp.c,v 1.50.2.54 1998/05/21 01:26:08 brian Exp $
+ * $Id: ipcp.c,v 1.51 1998/05/21 21:45:46 brian Exp $
*
* TODO:
* o More RFC1772 backwoard compatibility
@@ -738,7 +738,7 @@ IpcpLayerUp(struct fsm *fp)
throughput_start(&ipcp->throughput, "IPCP throughput",
Enabled(fp->bundle, OPT_THROUGHPUT));
- bundle_DisplayPrompt(fp->bundle);
+ log_DisplayPrompts();
return 1;
}