From 78a9d450bdfaeec2078ed38604045883ac4fa573 Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 17 Jan 2006 17:08:41 +0000 Subject: [PATCH] Correct typo in 'retreat' patch git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3307 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/firewall | 2 +- Shorewall/shorewall | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Shorewall/firewall b/Shorewall/firewall index bed29a459..5579d6250 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -3657,7 +3657,7 @@ process_tc_rule() esac fi - if [ "x{$length:=-}" != "x-" ]; then + if [ "x${length:=-}" != "x-" ]; then [ -n "$LENGTH_MATCH" ] || fatal_error "Your kernel and/or iptables does not have length match support. Rule: \"$rule\"" r="${r}-m length --length ${length} " fi diff --git a/Shorewall/shorewall b/Shorewall/shorewall index 5a0d562bb..608fb548d 100755 --- a/Shorewall/shorewall +++ b/Shorewall/shorewall @@ -635,6 +635,9 @@ while [ $finished -eq 0 ]; do [ $# -eq 0 ] && usage 1 option=$1 case $option in + -) + finished=1 + ;; -*) option=${option#-}