mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 13:33:21 -07:00
fix: wifi.AccessPoint and wifi.Station now export the Channel field via JSON
This commit is contained in:
parent
4ae1ffd171
commit
78c341c2b3
5 changed files with 13 additions and 16 deletions
|
@ -86,7 +86,7 @@ func (mod *WiFiModule) getRow(station *network.Station) ([]string, bool) {
|
|||
rssi,
|
||||
bssid,
|
||||
tui.Dim(station.Vendor),
|
||||
strconv.Itoa(station.Channel()),
|
||||
strconv.Itoa(station.Channel),
|
||||
sent,
|
||||
recvd,
|
||||
seen,
|
||||
|
@ -95,7 +95,7 @@ func (mod *WiFiModule) getRow(station *network.Station) ([]string, bool) {
|
|||
return []string{
|
||||
rssi,
|
||||
bssid,
|
||||
strconv.Itoa(station.Channel()),
|
||||
strconv.Itoa(station.Channel),
|
||||
sent,
|
||||
recvd,
|
||||
seen,
|
||||
|
@ -137,7 +137,7 @@ func (mod *WiFiModule) getRow(station *network.Station) ([]string, bool) {
|
|||
ssid,
|
||||
encryption,
|
||||
wps,
|
||||
strconv.Itoa(station.Channel()),
|
||||
strconv.Itoa(station.Channel),
|
||||
clients,
|
||||
sent,
|
||||
recvd,
|
||||
|
@ -150,7 +150,7 @@ func (mod *WiFiModule) getRow(station *network.Station) ([]string, bool) {
|
|||
ssid,
|
||||
encryption,
|
||||
wps,
|
||||
strconv.Itoa(station.Channel()),
|
||||
strconv.Itoa(station.Channel),
|
||||
clients,
|
||||
sent,
|
||||
recvd,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue