Correct typo in 'retreat' patch

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3307 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-01-17 17:08:41 +00:00
parent 8cc91bf428
commit 78a9d450bd
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -635,6 +635,9 @@ while [ $finished -eq 0 ]; do
[ $# -eq 0 ] && usage 1
option=$1
case $option in
-)
finished=1
;;
-*)
option=${option#-}