Skip to content

Commit

Permalink
fix: IPv6 no message in fast_trace
Browse files Browse the repository at this point in the history
  • Loading branch information
sjlleo committed Feb 15, 2023
1 parent f64934b commit e825b8d
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions fast_trace/fast_trace ipv6.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,10 @@ func (f *FastTracer) tracert_v6(location string, ispCollection ISPCollection) {
Timeout: 1 * time.Second,
}

if f.TracerouteMethod == trace.ICMPTrace {
if oe {
conf.RealtimePrinter = tracelog.RealtimePrinter
} else {
conf.RealtimePrinter = printer.RealtimePrinter
}

if oe {
conf.RealtimePrinter = tracelog.RealtimePrinter
} else {
conf.RealtimePrinter = printer.RealtimePrinter
}

_, err = trace.Traceroute(f.TracerouteMethod, conf)
Expand Down

0 comments on commit e825b8d

Please sign in to comment.