mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-05 14:13:30 +03:00
chore: hysteria params verify
This commit is contained in:
parent
669961e496
commit
2ba933d16a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue