diff options
author | brian <brian@FreeBSD.org> | 1997-11-17 00:42:41 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-11-17 00:42:41 +0000 |
commit | 674fc92d54c1a0eadba4706ec31ac423c35adff7 (patch) | |
tree | f5eb6d98e8df8e08a811f9f51b592a74080e9a7d /usr.sbin/ppp/main.c | |
parent | 5696a07f36cde36ef7955344c7b33fc5c7c57248 (diff) | |
download | FreeBSD-src-674fc92d54c1a0eadba4706ec31ac423c35adff7.zip FreeBSD-src-674fc92d54c1a0eadba4706ec31ac423c35adff7.tar.gz |
Add id strings to tun.[ch].
Don't try to open ppp.secret if we're never going to use it.
Diffstat (limited to 'usr.sbin/ppp/main.c')
-rw-r--r-- | usr.sbin/ppp/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c index 54a5ede..19a24b1 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.98 1997/11/13 15:35:06 brian Exp $ + * $Id: main.c,v 1.99 1997/11/16 22:15:05 brian Exp $ * * TODO: * o Add commands for traffic summary, version display, etc. @@ -391,9 +391,10 @@ main(int argc, char **argv) return 1; } + if (!GetShortHost()) + return 1; Greetings(); IpcpDefAddress(); - LocalAuthInit(); if (SelectSystem("default", CONFFILE) < 0 && VarTerm) fprintf(VarTerm, "Warning: No default entry is given in config file.\n"); |