From 918cc484cb077459120a53620acaa51aee43d84c Mon Sep 17 00:00:00 2001 From: markjcrane Date: Sat, 28 Nov 2015 20:08:24 -0700 Subject: [PATCH] Set the mac address to lower case. --- app/provision/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/provision/index.php b/app/provision/index.php index df3d72fa91..ae17fefba2 100644 --- a/app/provision/index.php +++ b/app/provision/index.php @@ -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); } }