interactive errors.

This commit is contained in:
christos 2003-04-20 00:19:56 +00:00
parent 96efc68fce
commit 552cc1f0ea
2 changed files with 7 additions and 6 deletions

View File

@ -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 <sys/cdefs.h>
#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) {

View File

@ -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 <sys/cdefs.h>
#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.