Has anyone used the built in variable names in the DHCP Server script?
lease-script (string; Default: "")
Script that will be executed after lease is assigned or de-assigned. Internal "global" variables that can be used in the script:
leaseBound - set to "1" if bound, otherwise set to "0"
leaseServerName - dhcp server name
leaseActMAC - active mac address
leaseActIP - active IP address
lease-hostname - client hostname
lease-options - array of received options
Using leaseActMac and leaseActIP works just fine but
Trying to use lease-hostname. the "-" in the variable name is not agreeing with the script.
Tried using leaseHostname to follow the convention of the other variable names but does not work