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)