From 99662b616f5942eb8ffc69771d281ab1b43a08a9 Mon Sep 17 00:00:00 2001 From: wwqgtxx Date: Thu, 2 Feb 2023 21:48:20 +0800 Subject: [PATCH] fix: tuic listener config name --- listener/inbound/tuic.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/listener/inbound/tuic.go b/listener/inbound/tuic.go index 58817fc6..c74f73f6 100644 --- a/listener/inbound/tuic.go +++ b/listener/inbound/tuic.go @@ -13,10 +13,10 @@ type TuicOption struct { Certificate string `inbound:"certificate"` PrivateKey string `inbound:"private-key"` CongestionController string `inbound:"congestion-controller,omitempty"` - MaxIdleTime int `inbound:"max-idle-timer,omitempty"` - AuthenticationTimeout int `inbound:"authentication-timeoutr,omitempty"` - ALPN []string `inbound:"alpnr,omitempty"` - MaxUdpRelayPacketSize int `inbound:"max-udp-relay-packet-sizer,omitempty"` + MaxIdleTime int `inbound:"max-idle-time,omitempty"` + AuthenticationTimeout int `inbound:"authentication-timeout,omitempty"` + ALPN []string `inbound:"alpn,omitempty"` + MaxUdpRelayPacketSize int `inbound:"max-udp-relay-packet-size,omitempty"` } func (o TuicOption) Equal(config C.InboundConfig) bool {