Commit cd381db4 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) fix PHP Strict Standards: Only variables should be passed by...

(legacy) fix PHP Strict Standards:  Only variables should be passed by reference in /usr/local/etc/inc/util.inc on line 861
parent d0ee041e
......@@ -858,7 +858,8 @@ function get_interface_list($only_active = false)
}
foreach ($ifnames as $ifname) {
if (in_array(array_shift(preg_split('/\d/', $ifname)), $vfaces)) {
$tmp_ifnames = preg_split('/\d/', $ifname);
if (in_array(array_shift($tmp_ifnames), $vfaces)) {
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment