Unit abbreviations "TByte" and "TBytes" are unsupported
Tor's configuration, for settings like BandwidthRate
, supports unit abbreviates like "KB
", "MByte
", and "GBytes
".
For tera-, it supports "TB", and apparently "terabyte(s)", "terabit(s)" and "TBit(s)", but not "TByte
" or "TBytes
".
The man page suggests that they should be supported, without quite entirely saying so:
bytes|KBytes|MBytes|GBytes|KBits|MBits|GBits
The prefixes "tera" and "T" are also recognized.
Bug on c10faf50858943edafe042664b49f8a743df6d7c (r12936) in 0.2.0.14-alpha, i would say, when "KByte(s)", "MByte(s)" and "GByte(s)" were introduced. ("TB
" and "terabyte(s)" already existed.)
I have a (two-line) patch, but i have NOT checked that it works or even compiles.
-- Peng
Trac:
Username: mnordhoff