fix: hop-interval of tysteria is optional too

This commit is contained in:
wwqgtxx 2022-11-27 13:07:27 +08:00
parent 6b1ca7b07c
commit c8d7243b5b

View file

@ -112,7 +112,7 @@ type HysteriaOption struct {
ReceiveWindow int `proxy:"recv-window,omitempty"`
DisableMTUDiscovery bool `proxy:"disable-mtu-discovery,omitempty"`
FastOpen bool `proxy:"fast-open,omitempty"`
HopInterval int `proxy:"hop-interval"`
HopInterval int `proxy:"hop-interval,omitempty"`
}
func (c *HysteriaOption) Speed() (uint64, uint64, error) {