diff options
Diffstat (limited to 'usr.sbin/ppp/iplist.c')
-rw-r--r-- | usr.sbin/ppp/iplist.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/ppp/iplist.c b/usr.sbin/ppp/iplist.c index 6e6ecd1f25d9..319f13088534 100644 --- a/usr.sbin/ppp/iplist.c +++ b/usr.sbin/ppp/iplist.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: iplist.c,v 1.3 1997/12/23 22:38:54 brian Exp $ + * $Id: iplist.c,v 1.4.4.3 1998/05/01 19:24:54 brian Exp $ */ #include <sys/types.h> @@ -33,8 +33,6 @@ #include <stdlib.h> #include <string.h> -#include "command.h" -#include "mbuf.h" #include "log.h" #include "defs.h" #include "iplist.h" @@ -45,7 +43,7 @@ do_inet_aton(const char *start, const char *end, struct in_addr *ip) static char ipstr[16]; if (end - start > 15) { - LogPrintf(LogWARN, "%.*s: Invalid IP address\n", end-start, start); + log_Printf(LogWARN, "%.*s: Invalid IP address\n", end-start, start); return 0; } strncpy(ipstr, start, end-start); @@ -112,7 +110,7 @@ iplist_nextrange(struct iplist *list) end = ptr + strlen(ptr); if (end == ptr) return 0; - LogPrintf(LogWARN, "%.*s: Invalid IP range (skipping)\n", end - ptr, ptr); + log_Printf(LogWARN, "%.*s: Invalid IP range (skipping)\n", end - ptr, ptr); to = ptr; do *to = *end++; |