fix: reload not update dns

This commit is contained in:
sicheng
2022-08-18 17:25:31 +08:00
parent 040881b5a7
commit b3820a589f
4 changed files with 21 additions and 0 deletions

View File

@@ -758,6 +758,7 @@ func (v *Switch) Firewall() *network.FireWall {
}
func (v *Switch) Reload() {
co.Reload()
cache.Reload()
for _, w := range v.worker {
w.Reload(v)