Update provision.php
This commit is contained in:
parent
722e82ef18
commit
237cf6f14d
|
|
@ -167,9 +167,11 @@ include "root.php";
|
|||
case "grandstream":
|
||||
$mac = strtolower($mac);
|
||||
break;
|
||||
case "yealink":
|
||||
$mac = strtolower($mac);
|
||||
break;
|
||||
default:
|
||||
$mac = strtolower($mac);
|
||||
$mac = substr($mac, 0,2).'-'.substr($mac, 2,2).'-'.substr($mac, 4,2).'-'.substr($mac, 6,2).'-'.substr($mac, 8,2).'-'.substr($mac, 10,2);
|
||||
}
|
||||
return $mac;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue