]> git.proxmox.com Git - mirror_iproute2.git/commit - tc/tc_util.c
tc: more user friendly rates
authorEric Dumazet <edumazet@google.com>
Fri, 22 Nov 2013 06:37:17 +0000 (22:37 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 3 Dec 2013 07:48:11 +0000 (23:48 -0800)
commit8cecdc283743ab2d25888f8dd39bd853e9e58a6c
tree1bef3bafdad826ecae09cc16bba27e22ad177a7d
parent4a79c7a2dcefc1fc16b27303a88622b5539751cb
tc: more user friendly rates

Display more user friendly rates.

10Mbit is more readable than 10000Kbit

Before :
class htb 1:2 root prio 0 rate 10000Kbit ceil 10000Kbit ...

After:
class htb 1:2 root prio 0 rate 10Mbit ceil 10Mbit ...

Signed-off-by: Eric Dumazet <edumazet@google.com>
tc/tc_util.c