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

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:
Ainar Garipov
2025-12-12 17:20:33 +03:00
parent 6dbc4b84a7
commit cc1ea146ff

View File

@@ -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))