Revert "fix #322: add option general.find-process-mode, user can turn off findProcess feature in router"

This commit is contained in:
cubemaze
2023-01-06 12:17:46 +08:00
committed by GitHub
parent de6d32a9d5
commit 95564f1ae6
4 changed files with 70 additions and 137 deletions

View File

@@ -309,7 +309,7 @@ func updateTunnels(tunnels []LC.Tunnel) {
func updateGeneral(general *config.General, force bool) {
tunnel.SetMode(general.Mode)
tunnel.SetFindProcessMode(general.EnableProcess, general.FindProcessMode)
tunnel.SetAlwaysFindProcess(general.EnableProcess)
dialer.DisableIPv6 = !general.IPv6
if !dialer.DisableIPv6 {
log.Infoln("Use IPv6")