summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/util.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc
index 7b5e039..96903fc 100644
--- a/etc/inc/util.inc
+++ b/etc/inc/util.inc
@@ -239,6 +239,7 @@ function is_port($port) {
*/
function get_interface_list($mode = "active", $keyby = "physical") {
global $config;
+ $upints = array();
/* get a list of virtual interface types */
$vfaces = explode(" ", trim(shell_exec("/sbin/ifconfig -C")));
switch($mode) {
OpenPOWER on IntegriCloud