mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 21:43:18 -07:00
fixed wifi.show.sort by rssi
This commit is contained in:
parent
282b58c024
commit
bbf178e3db
1 changed files with 1 additions and 0 deletions
|
@ -164,6 +164,7 @@ func (w *WiFiModule) doSelection() (err error, stations []*network.Station) {
|
||||||
case "rcvd":
|
case "rcvd":
|
||||||
sort.Sort(ByWiFiRcvdSorter(stations))
|
sort.Sort(ByWiFiRcvdSorter(stations))
|
||||||
case "rssi":
|
case "rssi":
|
||||||
|
sort.Sort(ByRSSISorter(stations))
|
||||||
default:
|
default:
|
||||||
sort.Sort(ByRSSISorter(stations))
|
sort.Sort(ByRSSISorter(stations))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue