mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Set the mac address to lower case.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user