chore: cleanup dialer's code

This commit is contained in:
wwqgtxx
2023-03-06 23:23:05 +08:00
parent 7c34964f87
commit 545a79d406
3 changed files with 37 additions and 69 deletions

View File

@ -228,7 +228,7 @@ func patchConfigs(w http.ResponseWriter, r *http.Request) {
}
if general.TcpConcurrent != nil {
dialer.SetDial(*general.TcpConcurrent)
dialer.SetTcpConcurrent(*general.TcpConcurrent)
}
if general.InterfaceName != nil {