From 30ca59dab7301d4d4d671a1444deca2012c3cbe5 Mon Sep 17 00:00:00 2001 From: wwqgtxx Date: Fri, 25 Nov 2022 10:45:06 +0800 Subject: [PATCH] fix: tuic typo --- README.md | 2 +- adapter/outbound/tuic.go | 2 +- docs/config.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 417c6ac7..9a627673 100644 --- a/README.md +++ b/README.md @@ -235,7 +235,7 @@ proxies: port: 10443 type: tuic token: TOKEN - # ip: 127.0.0.1 + # ip: 127.0.0.1 # for overwriting the DNS lookup result of the server address set in option 'server' # heartbeat_interval: 10000 # alpn: [h3] # disable_sni: true diff --git a/adapter/outbound/tuic.go b/adapter/outbound/tuic.go index b4d17653..1cfba568 100644 --- a/adapter/outbound/tuic.go +++ b/adapter/outbound/tuic.go @@ -105,7 +105,7 @@ func NewTuic(option TuicOption) (*Tuic, error) { if len(option.CustomCA) > 0 { bs, err = os.ReadFile(option.CustomCA) if err != nil { - return nil, fmt.Errorf("hysteria %s load ca error: %w", addr, err) + return nil, fmt.Errorf("tuic %s load ca error: %w", addr, err) } } else if option.CustomCAString != "" { bs = []byte(option.CustomCAString) diff --git a/docs/config.yaml b/docs/config.yaml index f2d75bb5..8688564a 100644 --- a/docs/config.yaml +++ b/docs/config.yaml @@ -463,7 +463,7 @@ proxies: port: 10443 type: tuic token: TOKEN - # ip: 127.0.0.1 + # ip: 127.0.0.1 # for overwriting the DNS lookup result of the server address set in option 'server' # heartbeat_interval: 10000 # alpn: [h3] # disable_sni: true