mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-15 11:22:49 +03:00
- filters: start DNS server after filter has been removed
This commit is contained in:
parent
27006f58c5
commit
94f3bf44d7
@ -256,10 +256,6 @@ func startDNSServer() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func reconfigureDNSServer() error {
|
func reconfigureDNSServer() error {
|
||||||
if !isRunning() {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
config, err := generateServerConfig()
|
config, err := generateServerConfig()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return errorx.Decorate(err, "Couldn't start forwarding DNS server")
|
return errorx.Decorate(err, "Couldn't start forwarding DNS server")
|
||||||
|
Loading…
Reference in New Issue
Block a user