summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/status_interfaces.php3
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;
OpenPOWER on IntegriCloud