mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 09:47:51 +02:00
A couple of purely cosmetic changes
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3917 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
eac0d11166
commit
a5d471518c
@ -86,7 +86,7 @@ progress_message_and_save()
|
|||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# Indent and echo the contents of the passed file by $INDENT
|
# Echo the contents of the passed file indented by $INDENT
|
||||||
#
|
#
|
||||||
indent() {
|
indent() {
|
||||||
if [ -n "$INDENT" ]; then
|
if [ -n "$INDENT" ]; then
|
||||||
@ -140,6 +140,9 @@ run_iptables() {
|
|||||||
#
|
#
|
||||||
run_iptables2() {
|
run_iptables2() {
|
||||||
if [ -z "$KLUDGEFREE" ]; then
|
if [ -z "$KLUDGEFREE" ]; then
|
||||||
|
#
|
||||||
|
# Purge the temporary files that we use to prevent duplicate '-m' specifications
|
||||||
|
#
|
||||||
[ -n "$BRIDGING" ] && [ -f $TMP_DIR/physdev ] && rm -f $TMP_DIR/physdev
|
[ -n "$BRIDGING" ] && [ -f $TMP_DIR/physdev ] && rm -f $TMP_DIR/physdev
|
||||||
[ -n "$IPRANGE_MATCH" ] && [ -f $TMP_DIR/iprange ] && rm -f $TMP_DIR/iprange
|
[ -n "$IPRANGE_MATCH" ] && [ -f $TMP_DIR/iprange ] && rm -f $TMP_DIR/iprange
|
||||||
fi
|
fi
|
||||||
@ -939,7 +942,7 @@ interface_has_option() # $1 = interface, #2 = option
|
|||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# Determine the defined hosts in each zone and generate report
|
# Determine the defined hosts in each zone
|
||||||
#
|
#
|
||||||
determine_hosts() {
|
determine_hosts() {
|
||||||
for zone in $ZONES; do
|
for zone in $ZONES; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user