From b20b27fd20fa1f8a4caa110798ae6f468c7cb7ee Mon Sep 17 00:00:00 2001 From: sjlleo Date: Thu, 26 May 2022 21:29:17 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E7=8E=B0=E5=9C=A8TCP=20SYN=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E4=B8=8B=E4=B9=9F=E5=B0=86=E6=89=93=E5=8D=B0=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E8=B7=9F=E8=B8=AA=E7=BB=93=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.go b/main.go index 97072f3..6523a78 100644 --- a/main.go +++ b/main.go @@ -89,6 +89,10 @@ func main() { } if *routePath { + // 如果为TCP SYN,也打印路由跟踪结果 + if *tcpSYNFlag { + printer.TracerouteTablePrinter(res) + } r := reporter.New(res, ip.String()) r.Print() return