summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/lib/printlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ipfilter/lib/printlog.c')
-rw-r--r--contrib/ipfilter/lib/printlog.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/contrib/ipfilter/lib/printlog.c b/contrib/ipfilter/lib/printlog.c
index d14add4..1445971 100644
--- a/contrib/ipfilter/lib/printlog.c
+++ b/contrib/ipfilter/lib/printlog.c
@@ -1,11 +1,9 @@
-/* $NetBSD$ */
-
/*
* Copyright (C) 1993-2001 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*
- * Id: printlog.c,v 1.6 2002/01/28 06:50:47 darrenr Exp
+ * $Id: printlog.c,v 1.6.4.1 2005/11/14 17:45:06 darrenr Exp $
*/
#include "ipf.h"
@@ -27,12 +25,9 @@ frentry_t *fp;
printf(" or-block");
if (fp->fr_loglevel != 0xffff) {
printf(" level ");
- if (fp->fr_loglevel & LOG_FACMASK) {
- s = fac_toname(fp->fr_loglevel);
- if (s == NULL)
- s = "!!!";
- } else
- s = "";
+ s = fac_toname(fp->fr_loglevel);
+ if (s == NULL)
+ s = "!!!";
u = pri_toname(fp->fr_loglevel);
if (u == NULL)
u = "!!!";
OpenPOWER on IntegriCloud