Skip to content

Commit 98fe1c0

Browse files
committed
dnsx/alg: copy answer without AD bit
1 parent 0261673 commit 98fe1c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

intra/dnsx/alg.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ func (t *dnsgateway) q(t1, t2 Transport, preset []netip.Addr, network, uid strin
10251025
// substituions needn't happen when no alg ips to begin with
10261026
// but must happen if (real) ips are fixed
10271027
mustsubst := false || usefixed
1028-
ansmod := ansin.Copy()
1028+
ansmod := xdns.CopyAns(ansin)
10291029
// TODO: substitute ips in additional section
10301030
if algip4hints.IsValid() {
10311031
substok4 = xdns.SubstSVCBRecordIPs( /*out*/ ansmod, dns.SVCB_IPV4HINT, algip4hints, algXlatTtl) || substok4

0 commit comments

Comments
 (0)