mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
fix: reporting alias and mac address for endpoint.lost events
This commit is contained in:
parent
08a5ebb328
commit
91391a77f2
1 changed files with 3 additions and 1 deletions
|
@ -104,10 +104,12 @@ func (s *EventsStream) viewendpointEvent(e session.Event) {
|
|||
tui.Green(t.HwAddress),
|
||||
tui.Dim(vend))
|
||||
} else if e.Tag == "endpoint.lost" {
|
||||
fmt.Fprintf(s.output, "[%s] [%s] endpoint %s%s lost.\n",
|
||||
fmt.Fprintf(s.output, "[%s] [%s] endpoint %s%s %s%s lost.\n",
|
||||
e.Time.Format(eventTimeFormat),
|
||||
tui.Green(e.Tag),
|
||||
tui.Red(t.IpAddress),
|
||||
tui.Dim(name),
|
||||
tui.Green(t.HwAddress),
|
||||
tui.Dim(vend))
|
||||
} else {
|
||||
fmt.Fprintf(s.output, "[%s] [%s] %s\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue