Tested with all MAC addresses, got it.Which manufacturer is C2:7D:7D inside your csv?
Probably you do not understand what Locally administered bit on MAC is.
The random MAC generated must never have Locally administered bit set to 0.
What's not fixed is that cookie/active still removes *all* entries, not just the ones needed.Thanks, fixedFound your typo, now the script is: