Skip to content

Commit

Permalink
fix: option.Dev undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
XinRoom committed Jan 12, 2023
1 parent 780f5f4 commit 6e2f884
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/port/syn/syn.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ func NewSynScanner(firstIp net.IP, retChan chan port.OpenIpPort, option port.Opt
err = errors.New("get router info fail: no dev name")
return
}
if option.Dev != "" {
devName = option.Dev
}

rand.Seed(time.Now().Unix())

Expand Down

0 comments on commit 6e2f884

Please sign in to comment.