Skip to content

Commit

Permalink
Fix SYN mode,nic cannot be specified
Browse files Browse the repository at this point in the history
  • Loading branch information
XinRoom committed May 12, 2022
1 parent 6b88862 commit ebebd45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/port/syn/syn.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func NewSynScanner(firstIp net.IP, retChan chan port.OpenIpPort, option port.Opt
err = errors.New("get router info fail: no dev name")
return
}
if devName == "" {
if option.Dev != "" {
devName = option.Dev
}

Expand Down

0 comments on commit ebebd45

Please sign in to comment.