forked from extern/shorewall_code
Fix INCLUDE in params file
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5326 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
4b485e5985
commit
0136dbbea8
@ -6,7 +6,10 @@ Changes in 3.4.0 RC 1
|
||||
|
||||
3) Add macro for SixXS.
|
||||
|
||||
4) Allow ranges and ipset names in the ADDRESSES column of maclist file.
|
||||
4) Allow ranges and ipset names in the ADDRESSES column of maclist
|
||||
file.
|
||||
|
||||
5) Fix INCLUDE in extension scripts and /etc/shorewall/params.
|
||||
|
||||
Changes in 3.4.0 Beta 3
|
||||
|
||||
|
@ -100,13 +100,15 @@ progress_message_and_save()
|
||||
#
|
||||
indent() {
|
||||
if [ -n "$INDENT" ]; then
|
||||
if [ -n "$HAVEAWK" ]; then
|
||||
eval awk \''BEGIN { indent=1; }; /^\s*$/ { print ""; indent=1; next; }; { if (indent == 1) print "'"$INDENT"'" $0; else print; }; { indent=1; }; /\\$/ { indent=0; };'\' $1
|
||||
if [ $# -ge 1 ]; then
|
||||
read_file $1 0 | eval sed \'s\/^/"$INDENT"\/\' -
|
||||
else
|
||||
eval sed \'s\/^/"$INDENT"\/\' $1
|
||||
fi
|
||||
elif [ $# -ge 1 ]; then
|
||||
read_file $1 0
|
||||
else
|
||||
cat $1
|
||||
cat
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -72,6 +72,10 @@ Problems Corrected in 3.4.0 RC1
|
||||
|
||||
This problem has been corrected in RC1.
|
||||
|
||||
4) Previously, if "INCLUDE <filename>" appeared in
|
||||
/etc/shorewall/params or in an extension script then run-time
|
||||
errors occured.
|
||||
|
||||
Other Changes in 3.4.0 RC 1
|
||||
|
||||
1) A macro that handles SixXS has been contributed by Christian
|
||||
|
Loading…
Reference in New Issue
Block a user