Use the pfSense module calls for getting interface mac. Improves speed and correctnes.

This commit is contained in:
Ermal Lui 2010-02-12 16:43:33 +00:00
parent 3f70e61864
commit 7d6076f3fd

View File

@ -2869,8 +2869,8 @@ function get_interface_mtu($interface) {
}
function get_interface_mac($interface) {
$macinfo = pfSense_get_interface_addresses($interface);
return $macinfo["macaddr"];
}