diff options
-rwxr-xr-x | usr/local/www/status_interfaces.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php index 504a93c..2d5ed10 100755 --- a/usr/local/www/status_interfaces.php +++ b/usr/local/www/status_interfaces.php @@ -234,7 +234,8 @@ function get_interface_info($ifdescr) { $int = convert_friendly_interface_to_real_interface_name($ifdescr); $bridge = link_int_to_bridge_interface($int); if($bridge) { - $bridge_text = `/sbin/ifconfig {$bridge} | grep \"$int\"`; + echo "/sbin/ifconfig {$bridge} | grep \"$int\""; + $bridge_text = `/sbin/ifconfig {$bridge}`; if(stristr($bridge_text, "blocking") <> false) { $ifinfo['bridge'] = "<b><font color='red'>blocking</font></b> - check for ethernet loops"; $ifinfo['bridgeint'] = $bridge; |