diff options
author | Brian Somers <brian@FreeBSD.org> | 1997-05-26 00:44:10 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 1997-05-26 00:44:10 +0000 |
commit | 6ed9fb2fc9f80cea3b99dadecf6d0ad21366b279 (patch) | |
tree | 742f695e1790f2d676fe4cd3fac88607bd80bbbb /usr.sbin/ppp/os.c | |
parent | dcb1c20021ad56a38bc86ccc55fe7609690ddaa4 (diff) | |
download | src-6ed9fb2fc9f80cea3b99dadecf6d0ad21366b279.tar.gz src-6ed9fb2fc9f80cea3b99dadecf6d0ad21366b279.zip |
De-couple ppp from libalias. If libalias isn't there, the
alias commands simply won't work. Only root may specify the
location of the alias lib (otherwise, it's hard-coded).
Make logprintf silently fail if LogOpen hasn't been called.
Suggested by: eivind
Notes
Notes:
svn path=/head/; revision=26142
Diffstat (limited to 'usr.sbin/ppp/os.c')
-rw-r--r-- | usr.sbin/ppp/os.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/os.c b/usr.sbin/ppp/os.c index fd2990e9c03a..c1a89621c0c4 100644 --- a/usr.sbin/ppp/os.c +++ b/usr.sbin/ppp/os.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: os.c,v 1.17 1997/05/19 02:00:10 brian Exp $ + * $Id: os.c,v 1.18 1997/05/24 17:32:41 brian Exp $ * */ #include "fsm.h" @@ -40,6 +40,7 @@ #include "ipcp.h" #include "os.h" +#include "loadalias.h" #include "vars.h" #include "arp.h" #include "systems.h" |