mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
The MAC table listing tests bit 0 of byte 2 of the third table data word for the static flag, but the flag lives in bit 0 of byte 1: an entry written with byte 1 bit 0 set survives the aging engine indefinitely where an identical entry without it ages out, and reads back with exactly that bit set through both the address and the next-entry read methods. Byte 2 of that word reads zero for learned and static entries alike, so every entry has always been listed as learned and a static entry has never been visible as such in the table listing.