From 0658ecadd3c8e823876890df1d80788c3eb8bfa7 Mon Sep 17 00:00:00 2001 From: Skyxim Date: Sat, 16 Apr 2022 08:29:38 +0800 Subject: [PATCH] fix: adjust loading timing --- hub/executor/executor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)