Correct RFC1918 Logging

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@92 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2002-06-25 14:31:45 +00:00
parent 1623988384
commit 90bb5f1b53

View File

@ -2576,7 +2576,7 @@ initialize_netfilter () {
add_common_rules() {
logdisp() # $1 = Chain Name
{
echo "LOG --log-prefix "Shorewall:$1{1}:DROP:" --log-level info"
echo "LOG --log-prefix "Shorewall:${1}:DROP:" --log-level info"
}
############################################################################
# Reject Rules
@ -2669,7 +2669,7 @@ add_common_rules() {
createchain rfc1918 no
createchain logdrop no
run_iptables -A logdrop -j `logdisp rfc1818`
run_iptables -A logdrop -j `logdisp rfc1918`
run_iptables -A logdrop -j DROP
if [ -n "$MANGLE_ENABLED" ]; then