diff --git a/hub/executor/executor.go b/hub/executor/executor.go index 92984ff1..bae869df 100644 --- a/hub/executor/executor.go +++ b/hub/executor/executor.go @@ -77,10 +77,10 @@ func ApplyConfig(cfg *config.Config, force bool) { updateUsers(cfg.Users) updateProxies(cfg.Proxies, cfg.Providers) updateRules(cfg.Rules, cfg.RuleProviders) + updateSniffer(cfg.Sniffer) updateDNS(cfg.DNS, cfg.Tun) updateGeneral(cfg.General, force) updateIPTables(cfg) - updateSniffer(cfg.Sniffer) updateTun(cfg.Tun, cfg.DNS) updateExperimental(cfg) updateHosts(cfg.Hosts)