From 12b254e3164dbf2f773ea486a20102fd4183173c Mon Sep 17 00:00:00 2001 From: brian Date: Mon, 26 May 1997 00:44:10 +0000 Subject: 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 --- usr.sbin/ppp/auth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/ppp/auth.c') diff --git a/usr.sbin/ppp/auth.c b/usr.sbin/ppp/auth.c index 29eb776..af99f04 100644 --- a/usr.sbin/ppp/auth.c +++ b/usr.sbin/ppp/auth.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: auth.c,v 1.11 1997/05/07 23:01:21 brian Exp $ + * $Id: auth.c,v 1.12 1997/05/10 01:22:05 brian Exp $ * * TODO: * o Implement check against with registered IP addresses. @@ -25,6 +25,7 @@ #include "fsm.h" #include "lcpproto.h" #include "ipcp.h" +#include "loadalias.h" #include "vars.h" #include "filter.h" #include "auth.h" -- cgit v1.1