From a63d259b402194d8963f51646d692fbeabf33336 Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 22 Jul 2003 14:25:36 +0000 Subject: [PATCH] Move call to determine_capabilities so that MANGLE_ENABLED is set before it is tested git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@674 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/firewall | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Shorewall/firewall b/Shorewall/firewall index bf404ccef..a0f59f113 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -4611,6 +4611,10 @@ do_initialize() { echo "$config does not exist!" >&2 exit 2 fi + # + # Determine the capabilities of the installed iptables/netfilter + # + determine_capabilities [ -z "${STATEDIR}" ] && STATEDIR=/var/state/shorewall @@ -4723,10 +4727,6 @@ do_initialize() { strip_file interfaces strip_file hosts # - # Determine the capabilities of the installed iptables/netfilter - # - determine_capabilities - # # Check out the user's shell # [ -n "$SHOREWALL_SHELL" ] || SHOREWALL_SHELL=/bin/sh