From 9ef9f2227d81627ff73ad29b297bfcb4447ad063 Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 15 Nov 2006 16:45:31 +0000 Subject: [PATCH] More fixing for SAVE_IPSETS git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4883 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/compiler | 2 +- Shorewall/lib.cli | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/compiler b/Shorewall/compiler index f1fc14eaa..ac3cb7fb6 100755 --- a/Shorewall/compiler +++ b/Shorewall/compiler @@ -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 diff --git a/Shorewall/lib.cli b/Shorewall/lib.cli index 3882c1b69..e1cbbfada 100644 --- a/Shorewall/lib.cli +++ b/Shorewall/lib.cli @@ -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" ;; *)