1
0
mirror of https://github.com/nitezs/sub2clash.git synced 2024-12-23 21:14:43 -05:00

修复hysterica节点配置中部分字段的识别

This commit is contained in:
Qi Chai 2024-03-11 12:26:42 +08:00 committed by GitHub
parent e5c3852f06
commit 18b6a81896
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,6 +56,9 @@ type Proxy struct {
DisableMTUDiscovery bool `yaml:"disable-mtu-discovery,omitempty"` DisableMTUDiscovery bool `yaml:"disable-mtu-discovery,omitempty"`
FastOpen bool `yaml:"fast-open,omitempty"` FastOpen bool `yaml:"fast-open,omitempty"`
HopInterval int `yaml:"hop-interval,omitempty"` HopInterval int `yaml:"hop-interval,omitempty"`
Ports string `yaml:"ports,omitempty"`
AuthStringOLD string `yaml:"auth_str,omitempty"`
AuthString string `yaml:"auth-str,omitempty"`
} }
func (p Proxy) MarshalYAML() (interface{}, error) { func (p Proxy) MarshalYAML() (interface{}, error) {