diff --git a/common/tls/ech_server.go b/common/tls/ech_server.go index c38fe673..d41783fe 100644 --- a/common/tls/ech_server.go +++ b/common/tls/ech_server.go @@ -97,7 +97,7 @@ func (c *echServerConfig) startWatcher() error { if err != nil { return err } - err = c.watcher.Start() + err = watcher.Start() if err != nil { return err } diff --git a/common/tls/std_server.go b/common/tls/std_server.go index e894dade..8eab87da 100644 --- a/common/tls/std_server.go +++ b/common/tls/std_server.go @@ -106,7 +106,7 @@ func (c *STDServerConfig) startWatcher() error { if err != nil { return err } - err = c.watcher.Start() + err = watcher.Start() if err != nil { return err }