forked from extern/shorewall_code
More fixing for SAVE_IPSETS
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4883 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
65b436c078
commit
9ef9f2227d
@ -5521,7 +5521,7 @@ __EOF__
|
||||
# Shorewall auxiliary configuration file created by Shorewall version $VERSION - $(date)
|
||||
#
|
||||
__EOF__
|
||||
for option in VERBOSITY LOGFILE LOGFORMAT IPTABLES PATH SHOREWALL_SHELL SUBSYSLOCK RESTOREFILE; do
|
||||
for option in VERBOSITY LOGFILE LOGFORMAT IPTABLES PATH SHOREWALL_SHELL SUBSYSLOCK RESTOREFILE SAVE_IPSETS; do
|
||||
conditionally_add_option $option
|
||||
done
|
||||
|
||||
|
@ -265,7 +265,7 @@ save_config() {
|
||||
echo " ERROR: $RESTOREPATH exists and is not a saved $PRODUCT configuration"
|
||||
else
|
||||
case $RESTOREFILE in
|
||||
save)
|
||||
.*|capabilities|chains|default_route|firewall|firewall.conf|nat|proxyarp|restarted|rt_tables|save|state|undo_routing|zones)
|
||||
echo " ERROR: Reserved file name: $RESTOREFILE"
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user