Files
rzuastiandClaude Opus 4.8 96b328ae87 Deduplicate SNMP ARP rows per MAC to stop IP flap
A router's neighbour cache can hold the same MAC at several IPs at once
(e.g. a device that changed address before the old entry aged out).
Walking ipNetToMediaPhysAddress then yields multiple rows for one MAC,
and persisting each in turn made the stored IP flap every scan, emitting
a DeviceChanged notification each cycle.

Collapse the parsed rows to one IP per MAC: keep the IP OOTT already has
on record when it is among those found (stability for a known device),
otherwise fall back to the numerically lowest IP (deterministic, lets a
new or genuinely-moved device converge). Add debug logging that reports
the MAC, all IPs seen, the IP kept, and why.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 08:22:09 -04:00
..
2026-06-22 12:00:17 -04:00
2026-06-22 12:00:17 -04:00
2026-06-01 17:55:33 -04:00