summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-10-23 18:24:45 +0545
committerPhil Davis <phil.davis@inf.org>2015-10-23 18:24:45 +0545
commitf860af1edfbcdd59b5d89eba69f657c58e8aac94 (patch)
tree232801d93a206dec563430138b9c86357de017ae /usr
parentd7f5b68ab31f2317d2fba73de69e89a89fa0af1a (diff)
downloadpfsense-f860af1edfbcdd59b5d89eba69f657c58e8aac94.zip
pfsense-f860af1edfbcdd59b5d89eba69f657c58e8aac94.tar.gz
interfaces_assign tab_array numbering
This was fixed in master for 2.3 by https://github.com/pfsense/pfsense/commit/50e6c063e6ec148917ff0bcb0bce8b0a08df5792 - in master all of these $tab_array entries, in each file that they appear in, had been modified to just use the $tab_array[] = form. But in RELENG_2_2 that has not happened. So it seems nicer to just fix the numbering here to match what is already in the other interfaces_*.php files in RELENG_2_2. Note that the code works OK without this "fix" - display_top_tabs() just loops through the existing array keys anyhow and so did not notice the missing number.
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/interfaces_assign.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php
index 3d11ba3..101fdf2 100644
--- a/usr/local/www/interfaces_assign.php
+++ b/usr/local/www/interfaces_assign.php
@@ -476,10 +476,10 @@ if ($input_errors)
$tab_array[3] = array(gettext("VLANs"), false, "interfaces_vlan.php");
$tab_array[4] = array(gettext("QinQs"), false, "interfaces_qinq.php");
$tab_array[5] = array(gettext("PPPs"), false, "interfaces_ppps.php");
- $tab_array[7] = array(gettext("GRE"), false, "interfaces_gre.php");
- $tab_array[8] = array(gettext("GIF"), false, "interfaces_gif.php");
- $tab_array[9] = array(gettext("Bridges"), false, "interfaces_bridge.php");
- $tab_array[10] = array(gettext("LAGG"), false, "interfaces_lagg.php");
+ $tab_array[6] = array(gettext("GRE"), false, "interfaces_gre.php");
+ $tab_array[7] = array(gettext("GIF"), false, "interfaces_gif.php");
+ $tab_array[8] = array(gettext("Bridges"), false, "interfaces_bridge.php");
+ $tab_array[9] = array(gettext("LAGG"), false, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
</td></tr>
OpenPOWER on IntegriCloud