File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,9 @@ go 1.26.5
44
55require (
66 github.com/AdguardTeam/dnscrypt v0.0.2
7- github.com/AdguardTeam/dnsproxy v0.83.2
7+ // TODO(m.kazantsev): Update when the corresponding pull request will be
8+ // merged.
9+ github.com/AdguardTeam/dnsproxy v0.83.3-0.20260810153019-3ed2ad5795ea
810 github.com/AdguardTeam/golibs v0.35.15
911 github.com/AdguardTeam/urlfilter v0.23.4
1012 github.com/NYTimes/gziphandler v1.1.1
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ github.com/AdguardTeam/dnscrypt v0.0.2 h1:kIFCyjYofKHug7RwPGOjVga81P0/zOQdbUN+7p
88github.qkg1.top/AdguardTeam/dnscrypt v0.0.2 /go.mod h1:qCFs51rLfNzEDZqb6nz1tocVLnEearJ1zng6O3I6ecA =
99github.qkg1.top/AdguardTeam/dnsproxy v0.83.2 h1:a1QpTUkcwUP8MxL2Nu7OJX62h1SiJUwRsEbiihb5Y9A =
1010github.qkg1.top/AdguardTeam/dnsproxy v0.83.2 /go.mod h1:O1K8Roc6lNhSB5ffBXx34Pw7/03b+HUNh6qIhR/ad2A =
11+ github.com/AdguardTeam/dnsproxy v0.83.3-0.20260810153019-3ed2ad5795ea h1:ms2w9VtDxHjmoD3n1q4CAZICBx6nOFoYrQ6UIIsxuFE =
12+ github.com/AdguardTeam/dnsproxy v0.83.3-0.20260810153019-3ed2ad5795ea /go.mod h1:O1K8Roc6lNhSB5ffBXx34Pw7/03b+HUNh6qIhR/ad2A =
1113github.qkg1.top/AdguardTeam/golibs v0.35.15 h1:KjksvvzlQqxdNvrz+O3FgMbZKZAQdcoCkgBz0mR7wFQ =
1214github.qkg1.top/AdguardTeam/golibs v0.35.15 /go.mod h1:lScOIavWuRFL0vls26jKfQXaITP7OKO1qw75WYp5nYk =
1315github.qkg1.top/AdguardTeam/urlfilter v0.23.4 h1:3cwt5xj7lpK2t3sWtr9WI8mmsKP+RtpkdnEy7lrn8cg =
Original file line number Diff line number Diff line change @@ -945,7 +945,7 @@ func TestBlockCNAMEProtectionEnabled(t *testing.T) {
945945 IPv4 : testIPv4 ,
946946 }
947947
948- s .dnsProxy .UpstreamConfig = & proxy.UpstreamConfig {
948+ s .dnsProxy .UpstreamConf = & proxy.UpstreamConfig {
949949 Upstreams : []upstream.Upstream {testUpstm },
950950 }
951951 startDeferStop (t , s )
Original file line number Diff line number Diff line change @@ -265,8 +265,7 @@ func (svc *Service) Config() (c *Config) {
265265 addrs [i ] = a .(* net.UDPAddr ).AddrPort ()
266266 }
267267 } else {
268- conf := svc .proxy .Config
269- udpAddrs := conf .UDPListenAddr
268+ udpAddrs := svc .proxy .UDPListenAddr
270269 addrs = make ([]netip.AddrPort , len (udpAddrs ))
271270 for i , a := range udpAddrs {
272271 addrs [i ] = a .AddrPort ()
You can’t perform that action at this time.
0 commit comments