Hi Simon, Thanks for your response, I must have missed the extra arguments, but using those did the trick. Thanks for your help.
ps: I am sorry if this comes in under the wrong thread, emails from your servers don't seem to be making it to Google's servers when sending emails to my address. Thanks Taylor Fox On Tue, 6 Sept 2022 at 17:23, Taylor Fox <tay...@foxt.dev> wrote: > 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