From 9e4b2ae577779752ec5fa92a9785a010f7368281 Mon Sep 17 00:00:00 2001 From: sjlleo Date: Tue, 20 Sep 2022 03:47:43 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20=E2=86=92=20=E2=86=92=E5=8F=88=E6=89=8B?= =?UTF-8?q?=E6=BB=91=E4=BA=86...=20rDNS=20=E5=9C=A8=E5=90=8C=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=20Hop=20=E4=B8=8B=E5=AE=8C=E5=85=A8=E7=9B=B8=E5=90=8C?= =?UTF-8?q?=E7=9A=84=E7=A5=9E=E5=A5=87=20Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 5386235..13fb4d8 100644 --- a/printer/realtime_printer.go +++ b/printer/realtime_printer.go @@ -101,7 +101,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("%-32s", res.Hops[ttl][0].Hostname), + color.New(color.FgHiBlack, color.Bold).Sprintf("%-32s", res.Hops[ttl][i].Hostname), ) }