mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
new: added interface name and channel on wifi.show
This commit is contained in:
parent
f71df54950
commit
bf34561a19
2 changed files with 13 additions and 1 deletions
|
@ -159,7 +159,9 @@ func (w *WiFiModule) Show(by string) error {
|
|||
}
|
||||
|
||||
w.Session.Queue.Stats.RLock()
|
||||
fmt.Printf("\n%s %s / %s %s / %d pkts / %d errs\n\n",
|
||||
fmt.Printf("\n%s (ch. %d) / %s %s / %s %s / %d pkts / %d errs\n\n",
|
||||
w.Session.Interface.Name(),
|
||||
network.GetInterfaceChannel(w.Session.Interface.Name()),
|
||||
tui.Red("↑"),
|
||||
humanize.Bytes(w.Session.Queue.Stats.Sent),
|
||||
tui.Green("↓"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue