From c8d7243b5b4ab13d13117f60fb7153fc0482a436 Mon Sep 17 00:00:00 2001 From: wwqgtxx Date: Sun, 27 Nov 2022 13:07:27 +0800 Subject: [PATCH] fix: hop-interval of tysteria is optional too --- adapter/outbound/hysteria.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapter/outbound/hysteria.go b/adapter/outbound/hysteria.go index e6c2b25d..be285245 100644 --- a/adapter/outbound/hysteria.go +++ b/adapter/outbound/hysteria.go @@ -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) {