fuycadw / netsentry

Automatically exported from code.google.com/p/netsentry
0 stars 0 forks source link

Transmission Limit Dialog: Bug in parser code #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set transmission limit to 1500 MB for a device
2. Kill NetSentry
3. Start NetSentry
4. Go to editor for the device where you set the limit in step 1
5. Open the "Transmission Limit" dialog.
6. The dialog parses the limit down to a number smaller than 1024

What is the expected output? What do you see instead?
The parser should only keep dividing by 1024 until the number is no longer 
divisible by 1024 without resulting in a floating point value. Then that value 
should be used along with the current unit type.

Original issue reported on code.google.com by Lorenz.F...@gmail.com on 3 Oct 2010 at 1:17

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r84.

Original comment by Lorenz.F...@gmail.com on 3 Oct 2010 at 1:20