Fix for white space in log-prefix

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3939 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-05-26 19:39:22 +00:00
parent b2845f08bc
commit 9ddb2933b8
3 changed files with 13 additions and 8 deletions

View File

@ -8,6 +8,8 @@ Changes in 3.2.0 Beta 8
4) Detect devices in tcdevices entries.
5) Fix for white-space in log prefix.
-------------------------------------------------------------------------------
Changes in 3.2.0 Beta 7

View File

@ -1460,10 +1460,10 @@ log_rule_limit() # $1 = log level, $2 = chain, $3 = display Chain $4 = dispositi
case $level in
ULOG)
run_iptables $command $chain $@ $limit -j ULOG $LOGPARMS --ulog-prefix "$prefix"
run_iptables $command $chain $@ $limit -j ULOG $LOGPARMS --ulog-prefix \"$prefix\"
;;
*)
run_iptables $command $chain $@ $limit -j LOG $LOGPARMS --log-level $level --log-prefix "$prefix"
run_iptables $command $chain $@ $limit -j LOG $LOGPARMS --log-level $level --log-prefix \"$prefix\"
;;
esac

View File

@ -72,6 +72,9 @@ Other changes in 3.2.0 Beta 8
applies to "shorewall start", "shorewall restart" and "shorewall
refresh".
4) Previously, if LOGFORMAT generated any embedded white-space then a
startup error would result.
Migration Considerations:
1) If you are upgrading from Shorewall 2.x, it is essential that you read