diff options
author | ache <ache@FreeBSD.org> | 1997-05-04 02:39:04 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-05-04 02:39:04 +0000 |
commit | 027d471e2833c8d5f5406c758c4207d5ff555a8a (patch) | |
tree | 4fc262dd67c14550eb659cf10f8f3b7de6b973d4 /usr.sbin/ppp/main.c | |
parent | f1303fe1b2d0aad6464e6a1285658e5806ba0db7 (diff) | |
download | FreeBSD-src-027d471e2833c8d5f5406c758c4207d5ff555a8a.zip FreeBSD-src-027d471e2833c8d5f5406c758c4207d5ff555a8a.tar.gz |
Log each ppp line to separate /var/log/ppp.tunX.log instead mixing of
all lines into single /var/log/ppp.log
Diffstat (limited to 'usr.sbin/ppp/main.c')
-rw-r--r-- | usr.sbin/ppp/main.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c index f1e1d00..8c50561 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.44 1997/04/14 23:48:15 brian Exp $ + * $Id: main.c,v 1.45 1997/04/21 01:01:48 brian Exp $ * * TODO: * o Add commands for traffic summary, version display, etc. @@ -78,6 +78,7 @@ static int server; static pid_t BGPid = 0; struct sockaddr_in ifsin; char pid_filename[128]; +int tunno; static void TtyInit() @@ -296,8 +297,6 @@ main(argc, argv) int argc; char **argv; { - int tunno; - argc--; argv++; mode = MODE_INTER; /* default operation is interactive mode */ @@ -312,9 +311,6 @@ char **argv; fprintf(stderr, "Warning: No default entry is given in config file.\n"); } - if (LogOpen()) - exit(EX_START); - switch ( LocalAuthInit() ) { case NOT_FOUND: fprintf(stderr,LAUTH_M1); |