Skip to content

Commit

Permalink
update: ttl 从 1 开始
Browse files Browse the repository at this point in the history
  • Loading branch information
sjlleo committed May 27, 2022
1 parent e6480c8 commit a42c5e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion printer/realtime_printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
)

func RealtimePrinter(res *trace.Result, ttl int) {
fmt.Print(ttl)
fmt.Print(ttl + 1)
for i := range res.Hops[ttl] {
HopPrinter(res.Hops[ttl][i])
}
Expand Down

0 comments on commit a42c5e3

Please sign in to comment.