Make openmode active by default (for both client/server).

Requested by:	The masses.
This commit is contained in:
brian 1997-05-17 16:08:48 +00:00
parent ef2cb50b1e
commit 3d81388ebf
2 changed files with 5 additions and 8 deletions

View File

@ -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");

View File

@ -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