From 7d6076f3fdb2b5b28ec0b92ba443bb4957c369d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=E7i?= Date: Fri, 12 Feb 2010 16:43:33 +0000 Subject: [PATCH] Use the pfSense module calls for getting interface mac. Improves speed and correctnes. --- etc/inc/interfaces.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index b734086f99..773c22f9e1 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2869,8 +2869,8 @@ function get_interface_mtu($interface) { } function get_interface_mac($interface) { + $macinfo = pfSense_get_interface_addresses($interface); - return $macinfo["macaddr"]; }