fix legacy ini proxy conversion panic (#3667)

This commit is contained in:
fatedier
2023-10-11 16:53:03 +08:00
committed by GitHub
parent b9c24e9b69
commit 01a0d557ef
3 changed files with 4 additions and 0 deletions

View File

@@ -306,6 +306,7 @@ func Convert_ProxyConf_To_v1(conf ProxyConf) v1.ProxyConfigurer {
c := &v1.XTCPProxyConfig{ProxyBaseConfig: *outBase}
c.Secretkey = v.Sk
c.AllowUsers = v.AllowUsers
out = c
}
return out
}