mirror of
https://github.com/nitezs/sub2clash.git
synced 2024-12-23 14:34:41 -05:00
修复hysterica节点配置中部分字段的识别
This commit is contained in:
parent
e5c3852f06
commit
18b6a81896
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user