4 * Copyright (C) 2000-2005 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
8 * Id: printlog.c,v 1.6.4.3 2006/06/16 17:21:12 darrenr Exp
22 if (fp
->fr_flags
& FR_LOGBODY
)
24 if (fp
->fr_flags
& FR_LOGFIRST
)
26 if (fp
->fr_flags
& FR_LOGORBLOCK
)
28 if (fp
->fr_loglevel
!= 0xffff) {
30 s
= fac_toname(fp
->fr_loglevel
);
31 if (s
== NULL
|| *s
== '\0')
33 u
= pri_toname(fp
->fr_loglevel
);
34 if (u
== NULL
|| *u
== '\0')
36 printf("%s.%s", s
, u
);