From 991f66cfe47129e1e0b8a2ccf28b343eac894a6c Mon Sep 17 00:00:00 2001 From: sjlleo Date: Tue, 20 Sep 2022 05:12:20 -0400 Subject: [PATCH] fix: realtime_printer --- printer/realtime_printer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/printer/realtime_printer.go b/printer/realtime_printer.go index 13fb4d81..64497837 100644 --- a/printer/realtime_printer.go +++ b/printer/realtime_printer.go @@ -92,7 +92,7 @@ func RealtimePrinter(res *trace.Result, ttl int) { color.New(color.FgWhite, color.Bold).Sprintf("%s", res.Hops[ttl][i].Geo.City), color.New(color.FgWhite, color.Bold).Sprintf("%s", res.Hops[ttl][i].Geo.District), fmt.Sprintf("%-6s", res.Hops[ttl][i].Geo.Owner), - color.New(color.FgHiBlack, color.Bold).Sprintf("%-39s", res.Hops[ttl][0].Hostname), + color.New(color.FgHiBlack, color.Bold).Sprintf("%-39s", res.Hops[ttl][i].Hostname), ) } else { fmt.Fprintf(color.Output, " %s %s %s %s %s\n %s ",