diff --git a/mopchk/mopchk.c b/mopchk/mopchk.c index 2b34fa8..2342bcb 100644 --- a/mopchk/mopchk.c +++ b/mopchk/mopchk.c @@ -1,4 +1,4 @@ -/* $NetBSD: mopchk.c,v 1.9 2002/02/18 22:00:37 thorpej Exp $ */ +/* $NetBSD: mopchk.c,v 1.10 2003/04/20 00:19:56 christos Exp $ */ /* * Copyright (c) 1995-96 Mats O Jansson. All rights reserved. @@ -31,7 +31,7 @@ #include #ifndef lint -__RCSID("$NetBSD: mopchk.c,v 1.9 2002/02/18 22:00:37 thorpej Exp $"); +__RCSID("$NetBSD: mopchk.c,v 1.10 2003/04/20 00:19:56 christos Exp $"); #endif /* @@ -46,6 +46,7 @@ __RCSID("$NetBSD: mopchk.c,v 1.9 2002/02/18 22:00:37 thorpej Exp $"); #include "file.h" #include "mopdef.h" #include "pf.h" +#include "log.h" /* * The list of all interfaces that are being listened to. rarp_loop() @@ -74,8 +75,7 @@ main(argc, argv) struct if_info *ii; int err; - /* All error reporting is done through syslogs. */ - openlog("mopchk", LOG_PID, LOG_DAEMON); + mopInteractive = 1; opterr = 0; while ((op = getopt(argc, argv, "av")) != -1) { diff --git a/moptrace/moptrace.c b/moptrace/moptrace.c index 81840b3..6dd3d65 100644 --- a/moptrace/moptrace.c +++ b/moptrace/moptrace.c @@ -1,4 +1,4 @@ -/* $NetBSD: moptrace.c,v 1.8 2003/04/20 00:19:05 christos Exp $ */ +/* $NetBSD: moptrace.c,v 1.9 2003/04/20 00:20:29 christos Exp $ */ /* * Copyright (c) 1993-95 Mats O Jansson. All rights reserved. @@ -31,7 +31,7 @@ #include #ifndef lint -__RCSID("$NetBSD: moptrace.c,v 1.8 2003/04/20 00:19:05 christos Exp $"); +__RCSID("$NetBSD: moptrace.c,v 1.9 2003/04/20 00:20:29 christos Exp $"); #endif /* @@ -50,6 +50,7 @@ __RCSID("$NetBSD: moptrace.c,v 1.8 2003/04/20 00:19:05 christos Exp $"); #include "pf.h" #include "print.h" #include "rc.h" +#include "log.h" /* * The list of all interfaces that are being listened to.