From 15154fba73373c7cba074e5711fdc2140e1f187e Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Tue, 7 Jun 2022 14:53:00 +0800 Subject: [PATCH] fix: hysteria parse --- 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 8d2ba8b5..ed580e1b 100644 --- a/adapter/outbound/hysteria.go +++ b/adapter/outbound/hysteria.go @@ -66,7 +66,7 @@ type HysteriaOption struct { Name string `proxy:"name"` Server string `proxy:"server"` Port int `proxy:"port"` - Protocol string `json:"protocol,omitempty"` + Protocol string `proxy:"protocol,omitempty"` Up string `proxy:"up,omitempty"` UpMbps int `proxy:"up_mbps,omitempty"` Down string `proxy:"down,omitempty"`