fix: tuic listener config name

This commit is contained in:
gVisor bot 2023-02-02 21:48:20 +08:00
parent abdc12aed1
commit 41e1506153

View file

@ -13,10 +13,10 @@ type TuicOption struct {
Certificate string `inbound:"certificate"` Certificate string `inbound:"certificate"`
PrivateKey string `inbound:"private-key"` PrivateKey string `inbound:"private-key"`
CongestionController string `inbound:"congestion-controller,omitempty"` CongestionController string `inbound:"congestion-controller,omitempty"`
MaxIdleTime int `inbound:"max-idle-timer,omitempty"` MaxIdleTime int `inbound:"max-idle-time,omitempty"`
AuthenticationTimeout int `inbound:"authentication-timeoutr,omitempty"` AuthenticationTimeout int `inbound:"authentication-timeout,omitempty"`
ALPN []string `inbound:"alpnr,omitempty"` ALPN []string `inbound:"alpn,omitempty"`
MaxUdpRelayPacketSize int `inbound:"max-udp-relay-packet-sizer,omitempty"` MaxUdpRelayPacketSize int `inbound:"max-udp-relay-packet-size,omitempty"`
} }
func (o TuicOption) Equal(config C.InboundConfig) bool { func (o TuicOption) Equal(config C.InboundConfig) bool {