[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #9214 [Tor]: Allow alternate bw limits in k/m/g bits



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs