diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-02-12 16:43:33 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-02-12 16:43:33 +0000 |
commit | 7d6076f3fdb2b5b28ec0b92ba443bb4957c369d8 (patch) | |
tree | 6d0102fcfd9833c2966bd5f0dfddf7cab1200313 /etc | |
parent | 3f70e61864304d7884871cfcb09c8962caf6ea03 (diff) | |
download | pfsense-7d6076f3fdb2b5b28ec0b92ba443bb4957c369d8.zip pfsense-7d6076f3fdb2b5b28ec0b92ba443bb4957c369d8.tar.gz |
Use the pfSense module calls for getting interface mac. Improves speed and correctnes.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index b734086..773c22f 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"]; } |