skip displaying automatically generated rdns names

This commit is contained in:
lemmi 2021-12-15 05:46:37 +01:00
parent 96dcf14d5d
commit 9f38df5fa0
1 changed files with 3 additions and 0 deletions

View File

@ -97,6 +97,9 @@ func (rs *routeStats) add(prefix netaddr.IPPrefix) {
if err != nil || len(names) == 0 {
return
}
if strings.HasSuffix(names[0], ".rdns.f3netze.de.") {
return
}
rs.Lock()
r.Hostname = strings.TrimRight(names[0], ".")
rs.Unlock()