11.01.2023, 13:26
macs table already contains ip -> mac mapping:
Code:
ip = '192.168.0.2'
mac = macs[ ip ]
log(mac) -- will log the mac address for 192.168.0.2 if found