Update provision.php
This commit is contained in:
parent
b1e6e34446
commit
cd6cef5237
|
|
@ -128,12 +128,7 @@ include "root.php";
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
//log the invalid mac address attempt to the syslog server
|
return false;
|
||||||
openlog("FusionPBX", LOG_PID | LOG_PERROR, LOG_LOCAL0);
|
|
||||||
syslog(LOG_WARNING, '['.$_SERVER['REMOTE_ADDR']."] invalid mac address ".$mac);
|
|
||||||
closelog();
|
|
||||||
//invalid mac address return false
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue