From 1ba38db8e493e76091f1ed58aaa2b84df7576125 Mon Sep 17 00:00:00 2001 From: teastep Date: Sat, 3 Jun 2006 23:48:21 +0000 Subject: [PATCH] Disallow dynamic zones with export git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3986 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/compiler | 1 + 1 file changed, 1 insertion(+) diff --git a/Shorewall/compiler b/Shorewall/compiler index fd896a264..1f9285991 100755 --- a/Shorewall/compiler +++ b/Shorewall/compiler @@ -8769,6 +8769,7 @@ do_initialize() { DISABLE_IPV6=$(added_param_value_no DISABLE_IPV6 $DISABLE_IPV6) BRIDGING=$(added_param_value_no BRIDGING $BRIDGING) DYNAMIC_ZONES=$(added_param_value_no DYNAMIC_ZONES $DYNAMIC_ZONES) + [ -n "$DYNAMIC_ZONES" -a -n "$EXPORT" ] && fatal_error "DYNAMIC_ZONES=Yes is incompatible with the -e option" STARTUP_ENABLED=$(added_param_value_yes STARTUP_ENABLED $STARTUP_ENABLED) RETAIN_ALIASES=$(added_param_value_no RETAIN_ALIASES $RETAIN_ALIASES) [ -n "${ADD_IP_ALIASES}${ADD_SNAT_ALIASES}" ] || RETAIN_ALIASES=