mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-12-04 14:13:09 +09:00
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:
1 parent
6dbc4b84a7
commit
cc1ea146ff
1 file changed
+1
-1
@@ -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