2 * Copyright (C) 1993-2001 by Darren Reed.
4 * See the IPFILTER.LICENCE file for details on licencing.
6 * $Id: printlog.c,v 1.6 2002/01/28 06:50:47 darrenr Exp $
20 if (fp
->fr_flags
& FR_LOGBODY
)
22 if (fp
->fr_flags
& FR_LOGFIRST
)
24 if (fp
->fr_flags
& FR_LOGORBLOCK
)
26 if (fp
->fr_loglevel
!= 0xffff) {
28 if (fp
->fr_loglevel
& LOG_FACMASK
) {
29 s
= fac_toname(fp
->fr_loglevel
);
34 u
= pri_toname(fp
->fr_loglevel
);
38 printf("%s.%s", s
, u
);