mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 10:46:57 -07:00
fix: fix to avoid making all endpoints bold after the first 10 seconds
This commit is contained in:
parent
e479a4747a
commit
de57fcdc92
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ func (d *Discovery) getRow(e *net.Endpoint) []string {
|
|||
// if endpoint was not found in ARP at least once
|
||||
addr = core.Dim(addr)
|
||||
mac = core.Dim(mac)
|
||||
} else if sinceStarted > justJoinedTimeInterval && sinceFirstSeen <= justJoinedTimeInterval {
|
||||
} else if sinceStarted > (justJoinedTimeInterval*2) && sinceFirstSeen <= justJoinedTimeInterval {
|
||||
// if endpoint was first seen in the last 10 seconds
|
||||
addr = core.Bold(addr)
|
||||
mac = core.Bold(mac)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue