summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/main.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-05-17 16:08:48 +0000
committerbrian <brian@FreeBSD.org>1997-05-17 16:08:48 +0000
commit3d81388ebfeb968753b90a659d3192e41ac37855 (patch)
treef94af8c22bdf8e7efab777372931000fa004e6be /usr.sbin/ppp/main.c
parentef2cb50b1e9a9ec438651344f03c3586e6f86e9e (diff)
downloadFreeBSD-src-3d81388ebfeb968753b90a659d3192e41ac37855.zip
FreeBSD-src-3d81388ebfeb968753b90a659d3192e41ac37855.tar.gz
Make openmode active by default (for both client/server).
Requested by: The masses.
Diffstat (limited to 'usr.sbin/ppp/main.c')
-rw-r--r--usr.sbin/ppp/main.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c
index 052cad1..c0f1a70 100644
--- a/usr.sbin/ppp/main.c
+++ b/usr.sbin/ppp/main.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: main.c,v 1.49 1997/05/11 10:23:16 brian Exp $
+ * $Id: main.c,v 1.50 1997/05/14 01:18:51 brian Exp $
*
* TODO:
* o Add commands for traffic summary, version display, etc.
@@ -532,10 +532,7 @@ PacketMode()
CcpInit();
LcpUp();
- if (mode & (MODE_DIRECT|MODE_DEDICATED))
- LcpOpen(OPEN_ACTIVE);
- else
- LcpOpen(VarOpenMode);
+ LcpOpen(VarOpenMode);
if ((mode & (MODE_INTER|MODE_AUTO)) == MODE_INTER) {
TtyCommandMode(1);
fprintf(stderr, "Packet mode.\r\n");
OpenPOWER on IntegriCloud