Set the mitel mac address to upper case.
This commit is contained in:
parent
ac09089f17
commit
01edbb30b8
|
|
@ -707,12 +707,15 @@ include "root.php";
|
||||||
case "aastra":
|
case "aastra":
|
||||||
$mac = strtoupper($mac);
|
$mac = strtoupper($mac);
|
||||||
break;
|
break;
|
||||||
case "snom":
|
case "mitel":
|
||||||
$mac = strtolower($mac);
|
$mac = strtoupper($mac);
|
||||||
break;
|
break;
|
||||||
case "polycom":
|
case "polycom":
|
||||||
$mac = strtolower($mac);
|
$mac = strtolower($mac);
|
||||||
break;
|
break;
|
||||||
|
case "snom":
|
||||||
|
$mac = strtolower($mac);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
$mac = strtolower($mac);
|
$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);
|
$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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue