diff options
author | brian <brian@FreeBSD.org> | 1997-05-17 16:08:48 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-05-17 16:08:48 +0000 |
commit | 3d81388ebfeb968753b90a659d3192e41ac37855 (patch) | |
tree | f94af8c22bdf8e7efab777372931000fa004e6be /usr.sbin/ppp | |
parent | ef2cb50b1e9a9ec438651344f03c3586e6f86e9e (diff) | |
download | FreeBSD-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')
-rw-r--r-- | usr.sbin/ppp/main.c | 7 | ||||
-rw-r--r-- | usr.sbin/ppp/vars.c | 6 |
2 files changed, 5 insertions, 8 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"); diff --git a/usr.sbin/ppp/vars.c b/usr.sbin/ppp/vars.c index 2d51b1c..aca7f6c 100644 --- a/usr.sbin/ppp/vars.c +++ b/usr.sbin/ppp/vars.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: vars.c,v 1.14 1997/04/21 01:02:00 brian Exp $ + * $Id: vars.c,v 1.15 1997/05/10 03:39:55 brian Exp $ * */ #include "fsm.h" @@ -29,7 +29,7 @@ #include "defs.h" char VarVersion[] = "Version 0.94"; -char VarLocalVersion[] = "$Date: 1997/04/21 01:02:00 $"; +char VarLocalVersion[] = "$Date: 1997/05/10 03:39:55 $"; /* * Order of conf option is important. See vars.h. @@ -52,7 +52,7 @@ struct pppvars pppVars = { DEF_MRU, 0, MODEM_SPEED, CS8, MODEM_CTSRTS, 180, 30, 3, RECONNECT_TIMER, RECONNECT_TRIES, REDIAL_PERIOD, NEXT_REDIAL_PERIOD, 1, MODEM_DEV, BASE_MODEM_DEV, - OPEN_PASSIVE, LOCAL_NO_AUTH, + OPEN_ACTIVE, LOCAL_NO_AUTH, }; int |