File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -291,12 +291,14 @@ func csv2ssv(csv string) string {
291291
292292func fetchDNSInfo (r dnsx.Resolver , id string ) string {
293293 if tr , rerr := r .GetInternal (id ); rerr == nil {
294- if tr .ID () != id {
294+ tid := tr .ID ()
295+
296+ if tid != id {
295297 // replace tr with the actual transport, if it is TransportMult
296298 // with one or more internal/hidden away transports.
297299 var mtr dnsx.TransportMult
298300 var err error
299- if mtr , err = r .GetMultInternal (id ); err == nil {
301+ if mtr , err = r .GetMultInternal (tid ); err == nil {
300302 tr , err = mtr .GetInternal (id )
301303 }
302304 if tr == nil {
@@ -305,7 +307,6 @@ func fetchDNSInfo(r dnsx.Resolver, id string) string {
305307 }
306308
307309 var sb strings.Builder
308- tid := tr .ID ()
309310 if tid != id {
310311 sb .WriteString (id + " <<?>> " + tr .ID ())
311312 } else {
You can’t perform that action at this time.
0 commit comments