mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
more lint driven refactoring
This commit is contained in:
parent
7919cda5ec
commit
0de6f3a76e
57 changed files with 168 additions and 241 deletions
|
@ -103,9 +103,9 @@ func (p *Prober) Start() error {
|
|||
|
||||
for p.Running() {
|
||||
for _, ip := range addresses {
|
||||
if p.Running() == false {
|
||||
if !p.Running() {
|
||||
return
|
||||
} else if p.Session.Skip(ip) == true {
|
||||
} else if p.Session.Skip(ip) {
|
||||
log.Debug("Skipping address %s from UDP probing.", ip)
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue