Fix `NUD_NOARP` skip

Signed-off-by: Emin Umut Gercek <eumutgercek@gmail.com>
pull/3191/head
Emin Umut Gercek 2025-02-02 16:27:44 +03:00
parent 6b0be659b9
commit ed49ea92d8
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ func getArpEntriesRTNL() (map[string]uint32, map[string]map[string]int, error) {
for _, n := range neighbors {
// Skip entries which have state NUD_NOARP to conform to output of /proc/net/arp.
if n.State&unix.NUD_NOARP != unix.NUD_NOARP {
if n.State&unix.NUD_NOARP == unix.NUD_NOARP {
continue
}