mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 01:37:59 +02:00
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:
parent
b2845f08bc
commit
9ddb2933b8
@ -8,6 +8,8 @@ Changes in 3.2.0 Beta 8
|
|||||||
|
|
||||||
4) Detect devices in tcdevices entries.
|
4) Detect devices in tcdevices entries.
|
||||||
|
|
||||||
|
5) Fix for white-space in log prefix.
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Changes in 3.2.0 Beta 7
|
Changes in 3.2.0 Beta 7
|
||||||
|
|
||||||
|
@ -1460,10 +1460,10 @@ log_rule_limit() # $1 = log level, $2 = chain, $3 = display Chain $4 = dispositi
|
|||||||
|
|
||||||
case $level in
|
case $level in
|
||||||
ULOG)
|
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
|
esac
|
||||||
|
|
||||||
|
@ -72,6 +72,9 @@ Other changes in 3.2.0 Beta 8
|
|||||||
applies to "shorewall start", "shorewall restart" and "shorewall
|
applies to "shorewall start", "shorewall restart" and "shorewall
|
||||||
refresh".
|
refresh".
|
||||||
|
|
||||||
|
4) Previously, if LOGFORMAT generated any embedded white-space then a
|
||||||
|
startup error would result.
|
||||||
|
|
||||||
Migration Considerations:
|
Migration Considerations:
|
||||||
|
|
||||||
1) If you are upgrading from Shorewall 2.x, it is essential that you read
|
1) If you are upgrading from Shorewall 2.x, it is essential that you read
|
||||||
|
Loading…
x
Reference in New Issue
Block a user