summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-12-11 17:10:11 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-12-11 17:10:11 +0000
commit84e5047da7fe2dba935ca55604d61542422e9b00 (patch)
tree3f766960310bf5618428278242bec57d9e3022c5 /etc/inc/interfaces.inc
parent161a01bd32c389152de1e1417d7016812a209f1c (diff)
downloadpfsense-84e5047da7fe2dba935ca55604d61542422e9b00.zip
pfsense-84e5047da7fe2dba935ca55604d61542422e9b00.tar.gz
Silence eclipse warnings
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 6ec1e29..cf8b7c9 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1594,6 +1594,7 @@ function get_wireless_modes($interface)
function get_interface_mac($interface) {
/* build interface list with netstat */
+ $linkinfo = "";
exec("/usr/bin/netstat -I $interface -nW -f link", $linkinfo);
array_shift($linkinfo);
$alink = preg_split("/\s+/", $linkinfo[0]);
OpenPOWER on IntegriCloud