Update provision.php (#2336)
This commit is contained in:
parent
cd512d11fb
commit
a0a39f2f08
|
|
@ -129,6 +129,9 @@ include "root.php";
|
||||||
//set the mac address in the correct format for the specific vendor
|
//set the mac address in the correct format for the specific vendor
|
||||||
public function format_mac($mac, $vendor) {
|
public function format_mac($mac, $vendor) {
|
||||||
switch (strtolower($vendor)) {
|
switch (strtolower($vendor)) {
|
||||||
|
case "algo":
|
||||||
|
$mac = strtoupper($mac);
|
||||||
|
break;
|
||||||
case "aastra":
|
case "aastra":
|
||||||
$mac = strtoupper($mac);
|
$mac = strtoupper($mac);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue