refactor: rename check_url to tcp_check_url and restrict dns_upstream as udp://ip:port

This commit is contained in:
mzz2017
2023-02-08 16:07:23 +08:00
committed by mzz
parent a3d4a06dab
commit 551e79d9e5
6 changed files with 88 additions and 34 deletions

View File

@ -75,11 +75,7 @@ func Run(log *logrus.Logger, param *config.Params) (err error) {
nodeList,
param.Group,
&param.Routing,
param.Global.DnsUpstream,
param.Global.CheckUrl,
param.Global.CheckInterval,
param.Global.LanInterface,
param.Global.WanInterface,
&param.Global,
)
if err != nil {
return err