summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_ping.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-08-31 14:44:02 +0000
committerErmal Luçi <eri@pfsense.org>2008-08-31 14:44:02 +0000
commit74d65827db40936f016b5efb71b0a55a75488196 (patch)
tree1214eaf882b867de0fc5e659202c59a14632f828 /usr/local/www/diag_ping.php
parent9a1c227e875dbd91e45081ae526bd124c8e109aa (diff)
downloadpfsense-74d65827db40936f016b5efb71b0a55a75488196.zip
pfsense-74d65827db40936f016b5efb71b0a55a75488196.tar.gz
Fix detection if an interface is part of bridge.
Diffstat (limited to 'usr/local/www/diag_ping.php')
-rwxr-xr-xusr/local/www/diag_ping.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_ping.php b/usr/local/www/diag_ping.php
index 6ab024f..e80aa76 100755
--- a/usr/local/www/diag_ping.php
+++ b/usr/local/www/diag_ping.php
@@ -116,7 +116,7 @@ include("head.inc"); ?>
<select name="interface" class="formfld">
<?php $interfaces = get_configured_interface_with_descr();
foreach ($interfaces as $iface => $ifacename): ?>
- <option value="<?=$iface;?>" <?php if (!$config['interfaces'][$iface]['bridge'] && $iface == $interface) echo "selected"; ?>>
+ <option value="<?=$iface;?>" <?php if (!link_int_to_bridge_interface($iface) && $iface == $interface) echo "selected"; ?>>
<?=htmlspecialchars($ifacename);?>
</option>
<?php endforeach; ?>
OpenPOWER on IntegriCloud