mirror of
https://github.com/cedar2025/hysteria.git
synced 2025-07-05 18:59:51 +00:00
fix: stringToBps
This commit is contained in:
parent
877affec42
commit
ba47130990
@ -289,7 +289,7 @@ func stringToBps(s string) uint64 {
|
||||
}
|
||||
var n uint64
|
||||
switch m[2] {
|
||||
case "K", "k":
|
||||
case "K":
|
||||
n = 1 << 10
|
||||
case "M":
|
||||
n = 1 << 20
|
||||
|
Loading…
x
Reference in New Issue
Block a user