Clean up logging and variable naming

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1512 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-07-30 00:35:34 +00:00
parent 7fec7bbb15
commit e1ec9b0c0b

View File

@ -3685,6 +3685,13 @@ process_rule() # $1 = target
expandv logtag
fi
if [ $loglevel = none ]; then
loglevel=
logtag=
[ $target = LOG ] && return
fi
loglevel=${loglevel%\!}
fi
#
# Save the original target in 'logtarget' for logging rules