Hello,
     I am trying to write a script for logging & notification whenever a
new DHCP lease is issued, and I currently have a script that uses the
`dnsmasq_client_id` environment variable to get the MAC address of the
device that the lease was issued, but I have had an issue where on some
device that variable is not present and causes the script to fail. Could
anyone shed a light on why this is not working? Otherwise, any better way
of finding the MAC address other than diffing /etc/dhcp.leases.


Thanks in advance.
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to