forked from extern/shorewall_code
More 'compile' fixes
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3288 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
6054189059
commit
8f161be409
@ -8023,7 +8023,7 @@ initialize_netfilter () {
|
|||||||
if [ -f $f ]; then
|
if [ -f $f ]; then
|
||||||
progress_message2 "Processing $f ..."
|
progress_message2 "Processing $f ..."
|
||||||
save_progress_message "Restoring IPSETS..."
|
save_progress_message "Restoring IPSETS..."
|
||||||
ensure_and_save_command "ipset -U :all: :all:"
|
run_and_save_command "ipset -U :all: :all:"
|
||||||
ensure_and_save_command "ipset -F"
|
ensure_and_save_command "ipset -F"
|
||||||
ensure_and_save_command "ipset -X"
|
ensure_and_save_command "ipset -X"
|
||||||
ensure_and_save_command "ipset -R < $f"
|
ensure_and_save_command "ipset -R < $f"
|
||||||
@ -8998,7 +8998,7 @@ define_firewall() # $1 = Command (Start or Restart)
|
|||||||
|
|
||||||
if [ -n "$ALIASES_TO_ADD" ]; then
|
if [ -n "$ALIASES_TO_ADD" ]; then
|
||||||
progress_message2 "Adding IP Addresses..."
|
progress_message2 "Adding IP Addresses..."
|
||||||
add_ip_aliases
|
add_ip_aliases $ALIASES_TO_ADD
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for file in chains nat proxyarp zones; do
|
for file in chains nat proxyarp zones; do
|
||||||
@ -9357,8 +9357,9 @@ __EOF__
|
|||||||
save_progress_message "Activating Rules..."
|
save_progress_message "Activating Rules..."
|
||||||
activate_rules
|
activate_rules
|
||||||
|
|
||||||
[ -n "$ALIASES_TO_ADD" ] && \
|
if [ -n "$ALIASES_TO_ADD" ]; then
|
||||||
progress_message2 "Adding IP Addresses..." && add_ip_aliases
|
save_command add_ip_aliases $ALIASES_TO_ADD
|
||||||
|
fi
|
||||||
|
|
||||||
for file in chains nat proxyarp zones; do
|
for file in chains nat proxyarp zones; do
|
||||||
append_file $file
|
append_file $file
|
||||||
|
Loading…
Reference in New Issue
Block a user