mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 13:09:49 -07:00
balls
This commit is contained in:
parent
f1f61aa752
commit
8fbf32aacd
1 changed files with 2 additions and 2 deletions
|
@ -29,9 +29,9 @@ func (s EventsStream) viewEndpointEvent(e session.Event) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if t.Alias != "" {
|
if t.Alias != "" {
|
||||||
name = fmt.Sprintf(" (%s)", t.Hostname)
|
|
||||||
} else if t.Hostname != "" {
|
|
||||||
name = fmt.Sprintf(" (%s)", t.Alias)
|
name = fmt.Sprintf(" (%s)", t.Alias)
|
||||||
|
} else if t.Hostname != "" {
|
||||||
|
name = fmt.Sprintf(" (%s)", t.Hostname)
|
||||||
}
|
}
|
||||||
|
|
||||||
if e.Tag == "endpoint.new" {
|
if e.Tag == "endpoint.new" {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue