We received some new hardware with factory default ROS v7. It appears the dhcp server, lease-script is no longer taking local/global variables? Has anyone found a fix for this? See below for script.
{
:local mac "$leaseActMAC"
:local host $"lease-hostname"
:if ([:pick $host 0 4] = "test" || [:pick $host 0 4] = "exam") do={
/ip hotspot ip-binding add mac-address=$mac server="all" comment="test" type="bypassed";
}
}