mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
fix: workaround for PCAP_SET_RFMON issue (fixes #819, https://github.com/the-tcpdump-group/libpcap/issues/1041, https://github.com/the-tcpdump-group/libpcap/issues/1033)
This commit is contained in:
parent
06623ddfb9
commit
b12ba7947b
4 changed files with 30 additions and 4 deletions
|
@ -21,6 +21,10 @@ func getInterfaceName(iface net.Interface) string {
|
|||
return iface.Name
|
||||
}
|
||||
|
||||
func ForceMonitorMode(iface string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func SetInterfaceChannel(iface string, channel int) error {
|
||||
cIface := C.CString(iface)
|
||||
defer C.free(unsafe.Pointer(cIface))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue