Set the mac address to lower case.

This commit is contained in:
markjcrane 2015-11-28 20:08:24 -07:00
parent 37741c0926
commit 918cc484cb
1 changed files with 1 additions and 1 deletions

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);
}
}