diff --git a/common.go b/common.go index bca6d04..e8aa246 100644 --- a/common.go +++ b/common.go @@ -800,6 +800,17 @@ func (c *Config) Clone() *Config { c.mutex.RLock() defer c.mutex.RUnlock() return &Config{ + DialContext: c.DialContext, + Show: c.Show, + Type: c.Type, + Dest: c.Dest, + Xver: c.Xver, + ServerNames: c.ServerNames, + PrivateKey: c.PrivateKey, + MinClientVer: c.MinClientVer, + MaxClientVer: c.MaxClientVer, + MaxTimeDiff: c.MaxTimeDiff, + ShortIds: c.ShortIds, Rand: c.Rand, Time: c.Time, Certificates: c.Certificates,