From: Jan Engelhardt Date: Thu, 12 May 2011 15:36:25 +0000 (+0200) Subject: libxt_rateest: streamline case display of units X-Git-Tag: v1.4.11~1^2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=463628b03eec6e7456ca5121f9b81af7f4690e08;p=thirdparty%2Fiptables.git libxt_rateest: streamline case display of units Signed-off-by: Jan Engelhardt --- diff --git a/extensions/libxt_rateest.c b/extensions/libxt_rateest.c index e70edc67..509b3e31 100644 --- a/extensions/libxt_rateest.c +++ b/extensions/libxt_rateest.c @@ -65,11 +65,11 @@ static const struct rate_suffix { { "bit", 1. }, { "Kibit", 1024. }, { "kbit", 1000. }, - { "mibit", 1024.*1024. }, + { "Mibit", 1024.*1024. }, { "mbit", 1000000. }, - { "gibit", 1024.*1024.*1024. }, + { "Gibit", 1024.*1024.*1024. }, { "gbit", 1000000000. }, - { "tibit", 1024.*1024.*1024.*1024. }, + { "Tibit", 1024.*1024.*1024.*1024. }, { "tbit", 1000000000000. }, { "Bps", 8. }, { "KiBps", 8.*1024. },