mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 21:43:18 -07:00
Merge pull request #668 from coderobe/patch-1
modules/wifi: fix SetSnapLen error message text
This commit is contained in:
commit
0e4f752ce4
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ func (mod *WiFiModule) Configure() error {
|
|||
if err = ihandle.SetRFMon(true); err != nil {
|
||||
return fmt.Errorf("error while setting interface %s in monitor mode: %s", tui.Bold(ifName), err)
|
||||
} else if err = ihandle.SetSnapLen(65536); err != nil {
|
||||
return fmt.Errorf("error while settng span len: %s", err)
|
||||
return fmt.Errorf("error while settng snapshot length: %s", err)
|
||||
}
|
||||
/*
|
||||
* We don't want to pcap.BlockForever otherwise pcap_close(handle)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue