Skip to content

Commit

Permalink
fix: all mode default false.
Browse files Browse the repository at this point in the history
  • Loading branch information
peanut996 committed Jun 9, 2024
1 parent ab48a81 commit 1634a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Parameters:
flag.IntVar(&minDelay, "tll", 0, "Average latency lower limit")
flag.Float64Var(&maxLossRate, "tlr", 1, "Packet loss rate upper limit")

flag.BoolVar(&task.AllMode, "all", true, "All mode, test results for all IPs")
flag.BoolVar(&task.AllMode, "all", false, "All mode, test results for all IPs")
flag.BoolVar(&task.IPv6Mode, "ipv6", false, "IPv6 support. Only effect when not provide extra ip cidr.")
flag.IntVar(&utils.PrintNum, "p", 10, "Number of results to display")
flag.StringVar(&task.IPFile, "f", "", "IP segment data file")
Expand Down

0 comments on commit 1634a46

Please sign in to comment.