mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-12-20 01:11:03 +08:00
Pull request 2548: fix-log
Some checks failed
build / test (macOS-latest) (push) Has been cancelled
build / test (ubuntu-latest) (push) Has been cancelled
build / test (windows-latest) (push) Has been cancelled
lint / go-lint (push) Has been cancelled
lint / eslint (push) Has been cancelled
build / build-release (push) Has been cancelled
build / notify (push) Has been cancelled
lint / notify (push) Has been cancelled
Some checks failed
build / test (macOS-latest) (push) Has been cancelled
build / test (ubuntu-latest) (push) Has been cancelled
build / test (windows-latest) (push) Has been cancelled
lint / go-lint (push) Has been cancelled
lint / eslint (push) Has been cancelled
build / build-release (push) Has been cancelled
build / notify (push) Has been cancelled
lint / notify (push) Has been cancelled
Squashed commit of the following: commit cacaa9e0f8b807a81188e21e1fdddbfc1a0746b9 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri Dec 12 14:38:58 2025 +0300 home: fix autofix err log
This commit is contained in:
@@ -174,7 +174,7 @@ func (req *checkConfReq) validateDNS(
|
|||||||
canAutofix = checkDNSStubListener(ctx, l)
|
canAutofix = checkDNSStubListener(ctx, l)
|
||||||
if canAutofix && req.DNS.Autofix {
|
if canAutofix && req.DNS.Autofix {
|
||||||
if derr := disableDNSStubListener(ctx, l, cmdCons); derr != nil {
|
if derr := disableDNSStubListener(ctx, l, cmdCons); derr != nil {
|
||||||
l.ErrorContext(ctx, "disabling DNSStubListener", slogutil.KeyError, err)
|
l.ErrorContext(ctx, "disabling DNSStubListener", slogutil.KeyError, derr)
|
||||||
}
|
}
|
||||||
|
|
||||||
err = aghnet.CheckPort("udp", netip.AddrPortFrom(req.DNS.IP, port))
|
err = aghnet.CheckPort("udp", netip.AddrPortFrom(req.DNS.IP, port))
|
||||||
|
|||||||
Reference in New Issue
Block a user