mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 13:09:49 -07:00
fix: attempting to fix #109
This commit is contained in:
parent
d33430b047
commit
67d0e151ab
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ func getInterfaceName(iface net.Interface) string {
|
|||
}
|
||||
|
||||
func SetInterfaceChannel(iface string, channel int) error {
|
||||
_, err := core.Exec(airPortPath, []string{iface, "--channel", fmt.Sprintf("%d", channel)})
|
||||
_, err := core.Exec(airPortPath, []string{iface, fmt.Sprintf("-c%d", channel)})
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue