web: for network up/down limit preferences, use K=1024 like the manager

This commit is contained in:
David Anderson 2017-04-15 18:11:51 -07:00
parent f3c9a7e2b4
commit 7a0ea63597
1 changed files with 2 additions and 2 deletions

View File

@ -195,13 +195,13 @@ $net_prefs = array(
tra("Limit download rate to"),
tra("Limit the download rate of file transfers."),
"max_bytes_sec_down",
new NUM_SPEC(tra("KB/second"), 0, 9999999, 0, 1000, 100)
new NUM_SPEC(tra("KB/second"), 0, 9999999, 0, 1024, 100)
),
new PREF_OPT_NUM(
tra("Limit upload rate to"),
tra("Limit the upload rate of file transfers."),
"max_bytes_sec_up",
new NUM_SPEC(tra("KB/second"), 0, 9999999, 0, 1000, 100)
new NUM_SPEC(tra("KB/second"), 0, 9999999, 0, 1024, 100)
),
new PREF_NUM2(
tra("Limit usage to"),