Skip to content

Commit d2f69a6

Browse files
committed
Change default port scanning range
1 parent b535293 commit d2f69a6

File tree

1 file changed

+2
-2
lines changed
  • 08-concurrency/e1-synchronized

1 file changed

+2
-2
lines changed

08-concurrency/e1-synchronized/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ var toPort string
1515

1616
func init() {
1717
flag.StringVar(&host, "host", "127.0.0.1", "Host to scan.")
18-
flag.StringVar(&fromPort, "from", "8080", "Port to start scanning from")
19-
flag.StringVar(&toPort, "to", "8090", "Port at which to stop scanning")
18+
flag.StringVar(&fromPort, "from", "5300", "Port to start scanning from")
19+
flag.StringVar(&toPort, "to", "5500", "Port at which to stop scanning")
2020
}
2121

2222
func main() {

0 commit comments

Comments
 (0)