summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_wol_edit.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/services_wol_edit.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/services_wol_edit.php')
-rwxr-xr-xusr/local/www/services_wol_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_wol_edit.php b/usr/local/www/services_wol_edit.php
index 17e1006..de3d271 100755
--- a/usr/local/www/services_wol_edit.php
+++ b/usr/local/www/services_wol_edit.php
@@ -117,7 +117,7 @@ include("head.inc");
<?php
$interfaces = get_configured_interface_with_descr();
foreach ($interfaces as $iface => $ifacename): ?>
- <option value="<?=$iface;?>" <?php if (!$config['interfaces'][$iface]['bridge'] && $iface == $pconfig['interface']) echo "selected"; ?>>
+ <option value="<?=$iface;?>" <?php if (!link_int_to_bridge_interface($iface) && $iface == $pconfig['interface']) echo "selected"; ?>>
<?=htmlspecialchars($ifacename);?>
</option>
<?php endforeach; ?>
OpenPOWER on IntegriCloud