- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for modifyReq (0.08 sec)
-
pkg/dns/client/dns_test.go
t.Run(clients[i].Net+"-"+tt.name, func(t *testing.T) { m := new(dns.Msg) q := dns.TypeA if tt.queryAAAA { q = dns.TypeAAAA } m.SetQuestion(tt.host, q) if tt.modifyReq != nil { tt.modifyReq(m) } if tt.id != 0 { currentID.Store(int32(tt.id)) defer func() { currentID.Store(0) }() } res, _, err := clients[i].Exchange(m, addr) if res != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 16:17:34 UTC 2024 - 20.4K bytes - Viewed (0)