Merge pull request #22 from Adlyq/Alpha-pr

[skip ci]
[Fix] skip when country code not found in GeoIP.dat
This commit is contained in:
Meta
2022-03-22 00:33:02 +08:00
committed by GitHub
4 changed files with 14 additions and 13 deletions

View File

@ -77,8 +77,8 @@ func ApplyConfig(cfg *config.Config, force bool) {
updateUsers(cfg.Users)
updateProxies(cfg.Proxies, cfg.Providers)
updateRules(cfg.Rules, cfg.RuleProviders)
updateGeneral(cfg.General, force)
updateDNS(cfg.DNS, cfg.Tun)
updateGeneral(cfg.General, force)
updateTun(cfg.Tun)
autoUpdateIPTables(cfg.DNS, cfg.General, cfg.Tun)
updateExperimental(cfg)