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:
teastep 2006-11-15 16:45:31 +00:00
parent 65b436c078
commit 9ef9f2227d
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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"
;;
*)