mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2024-11-14 21:31:16 +08:00
chore: hysteria params verify
This commit is contained in:
parent
669961e496
commit
2ba933d16a
@ -93,7 +93,7 @@ func (c *HysteriaOption) Speed() (uint64, uint64, error) {
|
||||
}
|
||||
|
||||
down = stringToBps(c.Down)
|
||||
if up == 0 {
|
||||
if down == 0 {
|
||||
return 0, 0, fmt.Errorf("invaild download speed: %s", c.Down)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user