misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-03-12 17:01:53 +01:00
parent 654633c419
commit 17e5138acd
No known key found for this signature in database
GPG key ID: 1564D7F30393A456

View file

@ -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)`,
"WiFi channels (comma separated) or empty for channel hopping.",
"WiFi channels (comma separated) or 'clear' for channel hopping.",
func(args []string) error {
newfrequencies := w.frequencies[:0]