summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/interfaces_bridge_edit.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-02-16 23:27:45 -0600
committerChris Buechler <cmb@pfsense.org>2016-02-16 23:27:45 -0600
commit0cf6752c64f9fcdbc653c758f6cc90b83ecbdcbc (patch)
tree05478206ceaa5a7591166c0e3f8b697a4402b99e /src/usr/local/www/interfaces_bridge_edit.php
parent69760d2b07c81ea7ea81d127d19edd7f5f30950a (diff)
downloadpfsense-0cf6752c64f9fcdbc653c758f6cc90b83ecbdcbc.zip
pfsense-0cf6752c64f9fcdbc653c758f6cc90b83ecbdcbc.tar.gz
Fix interfaces_bridge_edit.php fields. Ticket #5900
Diffstat (limited to 'src/usr/local/www/interfaces_bridge_edit.php')
-rw-r--r--src/usr/local/www/interfaces_bridge_edit.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/interfaces_bridge_edit.php b/src/usr/local/www/interfaces_bridge_edit.php
index 396d710..626020a 100644
--- a/src/usr/local/www/interfaces_bridge_edit.php
+++ b/src/usr/local/www/interfaces_bridge_edit.php
@@ -605,7 +605,7 @@ foreach ($ifacelist as $ifn => $ifdescr) {
$ifn,
$ifdescr . ' Priority',
'number',
- $pconfig[$ifn],
+ $pconfig['ifpriority'][$ifn],
['placeholder' => 128, 'min' => 0, 'max' => 240, 'step' => 16]
))->setHelp('Set the Spanning Tree priority of interface to value. The default is 128. The minimum is 0 and the maximum is 240. Increments of 16.');
}
@@ -613,10 +613,10 @@ foreach ($ifacelist as $ifn => $ifdescr) {
$i = 0;
foreach ($ifacelist as $ifn => $ifdescr) {
$section->addInput(new Form_Input(
- $ifn . $i,
+ $ifn . 0,
$ifdescr . ' Path cost',
'number',
- $ifpathcost[$ifn],
+ $pconfig['ifpathcost'][$ifn],
[ 'placeholder' => 0, 'min' => 1, 'max' => 200000000]
))->setHelp('Set the Spanning Tree path cost of interface to value. The default is calculated from the link speed. '.
'To change a previously selected path cost back to automatic, set the cost to 0. The minimum is 1 and the maximum is 200000000.');
OpenPOWER on IntegriCloud