From efd7c44bb69eeb489d3bb86c1712ce11d206e310 Mon Sep 17 00:00:00 2001 From: teastep Date: Sat, 17 Sep 2005 03:49:24 +0000 Subject: [PATCH] Remove some superfluous whitespace git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2696 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/firewall | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Shorewall/firewall b/Shorewall/firewall index a77f78ef1..42808b523 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -107,7 +107,6 @@ save_command() # save_progress_message() { - echo >> $RESTOREBASE echo "progress_message \"$@\"" >> $RESTOREBASE echo >> $RESTOREBASE @@ -238,7 +237,7 @@ finish_chain_section() # $1 = canonical chain $2 = state list local policy policychain [ -n "$FASTACCEPT" ] || run_iptables -A $1 -m state --state $2 -j ACCEPT - + if list_search RELATED $(separate_list $2) ; then [ -z "$NEWNOTSYN" ] && run_iptables -A $1 -m state --state NEW -p tcp ! --syn -j newnotsyn @@ -260,7 +259,7 @@ finish_chain_section() # $1 = canonical chain $2 = state list fi else eval policychain=\$${1}_policychain - + if eval test -n \"\$${policychain}_synparams\" ; then run_iptables -A $1 -p tcp --syn -j @$policychain fi @@ -330,7 +329,7 @@ createchain2() # $1 = chain name, $2 = If "yes", create default rules finish_chain_section $1 ESTABLISHED ;; esac - + fi eval exists_${c}=Yes @@ -4154,7 +4153,7 @@ process_action() # $1 = chain (Chain to add the rules to) clients=${clients%!*} ;; esac - + excludedest= case ${servers:=-} in @@ -4172,7 +4171,7 @@ process_action() # $1 = chain (Chain to add the rules to) servers=${servers%!*} ;; esac - + # Generate Netfilter rule(s) [ "x$protocol" = "x-" ] && protocol=all || protocol=${protocol:=all} @@ -5735,7 +5734,7 @@ process_rule() # $1 = target [ $COMMAND = check ] || ensurechain $chain # Generate Netfilter rule(s) - + case $logtarget in DNAT*|SAME)