mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
new: net.sniffer.interface parameter to sniff from a different interface
This commit is contained in:
parent
2662831fab
commit
69b3daa5b9
3 changed files with 21 additions and 2 deletions
|
@ -194,7 +194,9 @@ func (s *Session) Close() {
|
|||
}
|
||||
}
|
||||
|
||||
s.Firewall.Restore()
|
||||
if s.Firewall != nil {
|
||||
s.Firewall.Restore()
|
||||
}
|
||||
|
||||
if *s.Options.EnvFile != "" {
|
||||
envFile, _ := fs.Expand(*s.Options.EnvFile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue