From 1dddd43e679cf13cd34832079a65e53e7f3135dd Mon Sep 17 00:00:00 2001 From: zhshch2002 Date: Fri, 27 May 2022 10:38:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=94=99=E8=AF=AF=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E7=AB=AF=E5=8F=A3=E5=8F=B7=E9=80=A0=E6=88=90=E6=97=A0=E6=B3=95?= =?UTF-8?q?TCP=20Trace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 82e46d4..53dfad9 100644 --- a/main.go +++ b/main.go @@ -18,7 +18,7 @@ import ( var fSet = flag.NewFlagSet("", flag.ExitOnError) var tcpSYNFlag = fSet.Bool("T", false, "Use TCP SYN for tracerouting (default port is 80)") var udpPackageFlag = fSet.Bool("U", false, "Use UDP Package for tracerouting (default port is 53 in UDP)") -var port = fSet.Int("p", -1, "Set SYN Traceroute Port") +var port = flag.Int("p", 80, "Set SYN Traceroute Port") var numMeasurements = fSet.Int("q", 3, "Set the number of probes per each hop.") var parallelRequests = fSet.Int("r", 18, "Set ParallelRequests number. It should be 1 when there is a multi-routing.") var maxHops = fSet.Int("m", 30, "Set the max number of hops (max TTL to be reached).")