mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
91d360327a
commit
51a5b4ad6e
17 changed files with 1375 additions and 239 deletions
|
@ -118,7 +118,7 @@ func (mod *Prober) Start() error {
|
|||
}
|
||||
|
||||
if mod.probes.MDNS {
|
||||
mod.Session.Run("mdns.discovery on")
|
||||
mod.Session.Run("zerogod.discovery on")
|
||||
}
|
||||
|
||||
fromIP := mod.Session.Interface.IP
|
||||
|
@ -158,7 +158,7 @@ func (mod *Prober) Start() error {
|
|||
func (mod *Prober) Stop() error {
|
||||
return mod.SetRunning(false, func() {
|
||||
if mod.probes.MDNS {
|
||||
mod.Session.Run("mdns.discovery off")
|
||||
mod.Session.Run("zerogod.discovery off")
|
||||
}
|
||||
|
||||
mod.waitGroup.Wait()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue