Set the mac address to lower case.

This commit is contained in:
markjcrane
2015-11-28 20:08:24 -07:00
parent a1d3374abc
commit e0e7c90d97

View File

@@ -46,7 +46,7 @@ openlog("fusion-provisioning", LOG_PID | LOG_PERROR, LOG_LOCAL0);
if (empty($mac)){
$name = check_str($_REQUEST['name']);
if (substr($name, 0, 3) == "SEP") {
$mac = substr($name, 3, 12);
$mac = strtolower(substr($name, 3, 12));
unset($name);
}
}