From 2a8f3bc7cc378fdf1b4f25c2388314f6586af6d1 Mon Sep 17 00:00:00 2001 From: Matthew Grotke Date: Wed, 3 Jun 2026 03:32:00 -0400 Subject: [PATCH] Development --- routlin/maintenance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routlin/maintenance.py b/routlin/maintenance.py index c2d1caa..0a84d9b 100644 --- a/routlin/maintenance.py +++ b/routlin/maintenance.py @@ -583,7 +583,7 @@ def refresh_arp_cache(cfg): idx = parts.index('lladdr') mac = parts[idx + 1].lower() if mac not in best or used_secs < best[mac][0]: - best[mac] = (used_secs, {'ip': parts[0], 'state': state}) + best[mac] = (used_secs, {'ip': parts[0], 'state': 'REACHABLE'}) ARP_CACHE_FILE.write_text(json.dumps({m: e for m, (_, e) in best.items()})) except Exception as exc: print(f"WARNING: Could not refresh ARP cache: {exc}")