[tor-bugs] #9214 [Tor]: Allow alternate bw limits in k/m/g bits
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Jul 13 19:16:50 UTC 2013
#9214: Allow alternate bw limits in k/m/g bits
----------------------------------+-----------------------------------------
Reporter: hsn | Owner:
Type: enhancement | Status: needs_review
Priority: trivial | Milestone: Tor: 0.2.5.x-final
Component: Tor | Version:
Keywords: tor-relay easy lorax | Parent:
Points: | Actualpoints:
----------------------------------+-----------------------------------------
Changes (by CharlieB):
* status: new => needs_review
Comment:
Sounded simple enough. I went ahead and attached a patch
Constants added:
{ "kilobits", 1<<7 },
{ "kbits", 1<<7 },
{ "megabits", 1<<17 },
{ "mbits", 1<<17 },
{ "gigabits", 1<<27 },
{ "gbits", 1<<27 },
{ "terabits", U64_LITERAL(1)<<37 },
{ "tbits", U64_LITERAL(1)<<37 },
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9214#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list