From d3f566977cdad00cf49c20da2fa9eac89a108d7e Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 25 Oct 2006 22:07:13 +0000 Subject: [PATCH] More tc config parsing improvements git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4734 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/lib.tc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/lib.tc b/Shorewall/lib.tc index 2290b3ca6..066f6d433 100644 --- a/Shorewall/lib.tc +++ b/Shorewall/lib.tc @@ -44,7 +44,7 @@ setup_traffic_shaping() local rateunit rate rate=$1 rateunit=$( echo $rate | sed -e 's/[0-9]*//') - rate=$( echo $rate | sed -e 's/[a-zA-Z]*//g') + rate=$( echo $rate | sed -e 's/[a-z]*//gi') case $rateunit in kbit|Kbit)