diff options
author | Colin Smith <colin@pfsense.org> | 2005-09-18 19:40:52 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-09-18 19:40:52 +0000 |
commit | bb3b9159f870508f876a36f7806b09c9291ddf8a (patch) | |
tree | 9aaad4620fff524bec1308dfa52927625a310b0a /etc | |
parent | 9a5c0396393bba98fc579b0181f02824eccb93e5 (diff) | |
download | pfsense-bb3b9159f870508f876a36f7806b09c9291ddf8a.zip pfsense-bb3b9159f870508f876a36f7806b09c9291ddf8a.tar.gz |
Bugfix.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/util.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index e39744f..3a52af0 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -251,7 +251,8 @@ function get_interface_list($mode = "active", $keyby = "physical") { $regexp = '/(' . implode('|', $intlist) . '):\s/'; $ifstatus = preg_grep('/status:/', $ifconfig); foreach($ifstatus as $status) { - if(stristr($status, "active")) $upints[] = array_shift($intlist); + $int = array_shift($intlist); + if(stristr($status, "active")) $upints[] = $int; } break; } |