Development

This commit is contained in:
Matthew Grotke 2026-06-03 03:03:38 -04:00
parent f518f0e86b
commit 37a8e58fc7
2 changed files with 4 additions and 1 deletions

View file

@ -55,7 +55,7 @@
"field": "vlan_name"
},
{
"label": "Status",
"label": "ARP Status",
"field": "status",
"render": "raw_html"
},

View file

@ -546,6 +546,9 @@ def refresh_arp_cache():
state = parts[-1]
if state in ('FAILED', 'PERMANENT', 'NOARP', 'INCOMPLETE'):
continue
iface = parts[2] if len(parts) > 2 else ''
if iface.startswith('br-') or iface == 'docker0':
continue
idx = parts.index('lladdr')
mac = parts[idx + 1].lower()
entries[mac] = {'ip': parts[0], 'state': state}