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/hdlc.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/hdlc.c')
-rw-r--r-- | usr.sbin/ppp/hdlc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/hdlc.c b/usr.sbin/ppp/hdlc.c index 8b44981ee532..a7a37c8eacc9 100644 --- a/usr.sbin/ppp/hdlc.c +++ b/usr.sbin/ppp/hdlc.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: hdlc.c,v 1.13 1997/04/19 11:31:38 ache Exp $ + * $Id: hdlc.c,v 1.14 1997/05/10 01:22:10 brian Exp $ * * TODO: */ @@ -26,6 +26,7 @@ #include "lcpproto.h" #include "lcp.h" #include "lqr.h" +#include "loadalias.h" #include "vars.h" #include "pred.h" #include "modem.h" |