Pull request 2548: fix-log

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 committed 2025-12-12 17:20:33 +03:00
1 parent 6dbc4b84a7
commit cc1ea146ff
1 file changed
+1 -1
+1 -1
View File
@@ -174,7 +174,7 @@ func (req *checkConfReq) validateDNS(
canAutofix = checkDNSStubListener(ctx, l)
if canAutofix && req.DNS.Autofix {
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))