mirror of
https://github.com/bettercap/bettercap
synced 2025-07-30 03:29:57 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
654633c419
commit
17e5138acd
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ func NewWiFiModule(s *session.Session) *WiFiModule {
|
||||||
}))
|
}))
|
||||||
|
|
||||||
w.AddHandler(session.NewModuleHandler("wifi.recon.channel", `wifi\.recon\.channel[\s]+([0-9]+(?:[, ]+[0-9]+)*|clear)`,
|
w.AddHandler(session.NewModuleHandler("wifi.recon.channel", `wifi\.recon\.channel[\s]+([0-9]+(?:[, ]+[0-9]+)*|clear)`,
|
||||||
"WiFi channels (comma separated) or empty for channel hopping.",
|
"WiFi channels (comma separated) or 'clear' for channel hopping.",
|
||||||
func(args []string) error {
|
func(args []string) error {
|
||||||
newfrequencies := w.frequencies[:0]
|
newfrequencies := w.frequencies[:0]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue