summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgnhb <gnoahb@gmail.com>2010-03-30 18:28:19 +0700
committergnhb <gnoahb@gmail.com>2010-03-30 18:28:19 +0700
commitd02951e924a787c18a5cd941822b0236920df460 (patch)
tree436cdd8f8760d757bec1e5375095fe1b1ae5a75e
parent57b053e94e966e4e9fe42596eebaa05421c98e6f (diff)
downloadpfsense-d02951e924a787c18a5cd941822b0236920df460.zip
pfsense-d02951e924a787c18a5cd941822b0236920df460.tar.gz
Fix other interfaces_* pages and keep working with mlppp.
-rwxr-xr-xusr/local/www/interfaces_assign.php10
-rw-r--r--usr/local/www/interfaces_bridge.php10
-rw-r--r--usr/local/www/interfaces_gif.php10
-rw-r--r--usr/local/www/interfaces_gre.php10
-rwxr-xr-xusr/local/www/interfaces_groups.php22
-rw-r--r--usr/local/www/interfaces_lagg.php10
-rw-r--r--usr/local/www/interfaces_mlppp.php64
-rw-r--r--usr/local/www/interfaces_mlppp_edit.php59
-rw-r--r--usr/local/www/interfaces_ppp.php10
-rwxr-xr-xusr/local/www/interfaces_qinq.php10
-rwxr-xr-xusr/local/www/interfaces_vlan.php10
-rw-r--r--usr/local/www/interfaces_wireless.php10
12 files changed, 141 insertions, 94 deletions
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php
index 06a2f0b..6d4dfe1 100755
--- a/usr/local/www/interfaces_assign.php
+++ b/usr/local/www/interfaces_assign.php
@@ -375,11 +375,11 @@ if(file_exists("/var/run/interface_mismatch_reboot_needed"))
$tab_array[3] = array("VLANs", false, "interfaces_vlan.php");
$tab_array[4] = array("QinQs", false, "interfaces_qinq.php");
$tab_array[5] = array("PPP", false, "interfaces_ppp.php");
- $tab_array[5] = array("MLPPP", false, "interfaces_mlppp.php");
- $tab_array[6] = array("GRE", false, "interfaces_gre.php");
- $tab_array[7] = array("GIF", false, "interfaces_gif.php");
- $tab_array[8] = array("Bridges", false, "interfaces_bridge.php");
- $tab_array[9] = array("LAGG", false, "interfaces_lagg.php");
+ $tab_array[6] = array("MLPPP", false, "interfaces_mlppp.php");
+ $tab_array[7] = array("GRE", false, "interfaces_gre.php");
+ $tab_array[8] = array("GIF", false, "interfaces_gif.php");
+ $tab_array[9] = array("Bridges", false, "interfaces_bridge.php");
+ $tab_array[10] = array("LAGG", false, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
</td></tr>
diff --git a/usr/local/www/interfaces_bridge.php b/usr/local/www/interfaces_bridge.php
index c27a329..e42e5e5 100644
--- a/usr/local/www/interfaces_bridge.php
+++ b/usr/local/www/interfaces_bridge.php
@@ -92,11 +92,11 @@ include("head.inc");
$tab_array[3] = array("VLANs", false, "interfaces_vlan.php");
$tab_array[4] = array("QinQs", false, "interfaces_qinq.php");
$tab_array[5] = array("PPP", false, "interfaces_ppp.php");
- $tab_array[5] = array("MLPPP", false, "interfaces_mlppp.php");
- $tab_array[6] = array("GRE", false, "interfaces_gre.php");
- $tab_array[7] = array("GIF", false, "interfaces_gif.php");
- $tab_array[8] = array("Bridges", true, "interfaces_bridge.php");
- $tab_array[9] = array("LAGG", false, "interfaces_lagg.php");
+ $tab_array[6] = array("MLPPP", false, "interfaces_mlppp.php");
+ $tab_array[7] = array("GRE", false, "interfaces_gre.php");
+ $tab_array[8] = array("GIF", false, "interfaces_gif.php");
+ $tab_array[9] = array("Bridges", true, "interfaces_bridge.php");
+ $tab_array[10] = array("LAGG", false, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
</td></tr>
diff --git a/usr/local/www/interfaces_gif.php b/usr/local/www/interfaces_gif.php
index 924ad1f..056fa84 100644
--- a/usr/local/www/interfaces_gif.php
+++ b/usr/local/www/interfaces_gif.php
@@ -91,11 +91,11 @@ include("head.inc");
$tab_array[3] = array("VLANs", false, "interfaces_vlan.php");
$tab_array[4] = array("QinQs", false, "interfaces_qinq.php");
$tab_array[5] = array("PPP", false, "interfaces_ppp.php");
- $tab_array[5] = array("MLPPP", false, "interfaces_mlppp.php");
- $tab_array[6] = array("GRE", false, "interfaces_gre.php");
- $tab_array[7] = array("GIF", true, "interfaces_gif.php");
- $tab_array[8] = array("Bridges", false, "interfaces_bridge.php");
- $tab_array[9] = array("LAGG", false, "interfaces_lagg.php");
+ $tab_array[6] = array("MLPPP", false, "interfaces_mlppp.php");
+ $tab_array[7] = array("GRE", false, "interfaces_gre.php");
+ $tab_array[8] = array("GIF", true, "interfaces_gif.php");
+ $tab_array[9] = array("Bridges", false, "interfaces_bridge.php");
+ $tab_array[10] = array("LAGG", false, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
</td></tr>
diff --git a/usr/local/www/interfaces_gre.php b/usr/local/www/interfaces_gre.php
index 248d520..8d72127 100644
--- a/usr/local/www/interfaces_gre.php
+++ b/usr/local/www/interfaces_gre.php
@@ -91,11 +91,11 @@ include("head.inc");
$tab_array[3] = array("VLANs", false, "interfaces_vlan.php");
$tab_array[4] = array("QinQs", false, "interfaces_qinq.php");
$tab_array[5] = array("PPP", false, "interfaces_ppp.php");
- $tab_array[5] = array("MLPPP", false, "interfaces_mlppp.php");
- $tab_array[6] = array("GRE", true, "interfaces_gre.php");
- $tab_array[7] = array("GIF", false, "interfaces_gif.php");
- $tab_array[8] = array("Bridges", false, "interfaces_bridge.php");
- $tab_array[9] = array("LAGG", false, "interfaces_lagg.php");
+ $tab_array[6] = array("MLPPP", false, "interfaces_mlppp.php");
+ $tab_array[7] = array("GRE", true, "interfaces_gre.php");
+ $tab_array[8] = array("GIF", false, "interfaces_gif.php");
+ $tab_array[9] = array("Bridges", false, "interfaces_bridge.php");
+ $tab_array[10] = array("LAGG", false, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
</td></tr>
diff --git a/usr/local/www/interfaces_groups.php b/usr/local/www/interfaces_groups.php
index afad3af..6560a12 100755
--- a/usr/local/www/interfaces_groups.php
+++ b/usr/local/www/interfaces_groups.php
@@ -70,19 +70,19 @@ include("head.inc");
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<?php
- $tab_array = array();
- $tab_array[0] = array("Interface assignments", false, "interfaces_assign.php");
+ $tab_array = array();
+ $tab_array[0] = array("Interface assignments", false, "interfaces_assign.php");
$tab_array[1] = array("Interface Groups", true, "interfaces_groups.php");
$tab_array[2] = array("Wireless", false, "interfaces_wireless.php");
- $tab_array[3] = array("VLANs", false, "interfaces_vlan.php");
- $tab_array[4] = array("QinQs", false, "interfaces_qinq.php");
- $tab_array[5] = array("PPP", false, "interfaces_ppp.php");
- $tab_array[5] = array("MLPPP", false, "interfaces_mlppp.php");
- $tab_array[6] = array("GRE", false, "interfaces_gre.php");
- $tab_array[7] = array("GIF", false, "interfaces_gif.php");
- $tab_array[8] = array("Bridges", false, "interfaces_bridge.php");
- $tab_array[9] = array("LAGG", false, "interfaces_lagg.php");
- display_top_tabs($tab_array);
+ $tab_array[3] = array("VLANs", false, "interfaces_vlan.php");
+ $tab_array[4] = array("QinQs", false, "interfaces_qinq.php");
+ $tab_array[5] = array("PPP", false, "interfaces_ppp.php");
+ $tab_array[6] = array("MLPPP", false, "interfaces_mlppp.php");
+ $tab_array[7] = array("GRE", false, "interfaces_gre.php");
+ $tab_array[8] = array("GIF", false, "interfaces_gif.php");
+ $tab_array[9] = array("Bridges", false, "interfaces_bridge.php");
+ $tab_array[10] = array("LAGG", false, "interfaces_lagg.php");
+ display_top_tabs($tab_array);
?>
</td></tr>
<tr>
diff --git a/usr/local/www/interfaces_lagg.php b/usr/local/www/interfaces_lagg.php
index 1ec48fb..0bd1704 100644
--- a/usr/local/www/interfaces_lagg.php
+++ b/usr/local/www/interfaces_lagg.php
@@ -97,11 +97,11 @@ include("head.inc");
$tab_array[3] = array("VLANs", false, "interfaces_vlan.php");
$tab_array[4] = array("QinQs", false, "interfaces_qinq.php");
$tab_array[5] = array("PPP", false, "interfaces_ppp.php");
- $tab_array[5] = array("MLPPP", false, "interfaces_mlppp.php");
- $tab_array[6] = array("GRE", false, "interfaces_gre.php");
- $tab_array[7] = array("GIF", false, "interfaces_gif.php");
- $tab_array[8] = array("Bridges", false, "interfaces_bridge.php");
- $tab_array[9] = array("LAGG", true, "interfaces_lagg.php");
+ $tab_array[6] = array("MLPPP", false, "interfaces_mlppp.php");
+ $tab_array[7] = array("GRE", false, "interfaces_gre.php");
+ $tab_array[8] = array("GIF", false, "interfaces_gif.php");
+ $tab_array[9] = array("Bridges", false, "interfaces_bridge.php");
+ $tab_array[10] = array("LAGG", true, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
</td></tr>
diff --git a/usr/local/www/interfaces_mlppp.php b/usr/local/www/interfaces_mlppp.php
index a5e5ba4..b3990d3 100644
--- a/usr/local/www/interfaces_mlppp.php
+++ b/usr/local/www/interfaces_mlppp.php
@@ -34,25 +34,25 @@
*/
##|+PRIV
-##|*IDENT=page-interfaces-vlan
-##|*NAME=Interfaces: VLAN page
-##|*DESCR=Allow access to the 'Interfaces: VLAN' page.
-##|*MATCH=interfaces_vlan.php*
+##|*IDENT=page-interfaces-mlppp
+##|*NAME=Interfaces: mlppp page
+##|*DESCR=Allow access to the 'Interfaces: mlppp' page.
+##|*MATCH=interfaces_mlppp.php*
##|-PRIV
require("guiconfig.inc");
-if (!is_array($config['vlans']['vlan']))
- $config['vlans']['vlan'] = array();
+if (!is_array($config['mlppps']['mlppp']))
+ $config['mlppps']['mlppp'] = array();
-$a_vlans = &$config['vlans']['vlan'] ;
+$a_mlppps = &$config['mlppps']['mlppp'] ;
-function vlan_inuse($num) {
- global $config, $a_vlans;
+function mlppp_inuse($num) {
+ global $config, $a_mlppps;
$iflist = get_configured_interface_list(false, true);
foreach ($iflist as $if) {
- if ($config['interfaces'][$if]['if'] == $a_vlans[$num]['vlanif'])
+ if ($config['interfaces'][$if]['if'] == $a_mlppps[$num]['mlpppif'])
return true;
}
@@ -61,21 +61,21 @@ function vlan_inuse($num) {
if ($_GET['act'] == "del") {
/* check if still in use */
- if (vlan_inuse($_GET['id'])) {
- $input_errors[] = "This VLAN cannot be deleted because it is still being used as an interface.";
+ if (mlppp_inuse($_GET['id'])) {
+ $input_errors[] = "This interface cannot be deleted because it is still being used as an interface.";
} else {
- mwexec("/sbin/ifconfig " . $a_vlans[$_GET['id']]['vlanif'] . " destroy");
- unset($a_vlans[$_GET['id']]);
+ mwexec("/sbin/ifconfig " . $a_mlppps[$_GET['id']]['mlpppif'] . " destroy");
+ unset($a_mlppps[$_GET['id']]);
write_config();
- header("Location: interfaces_vlan.php");
+ header("Location: interfaces_mlppp.php");
exit;
}
}
-$pgtitle = array("Interfaces","VLAN");
+$pgtitle = array("Interfaces","MLPPP");
include("head.inc");
?>
@@ -90,14 +90,14 @@ include("head.inc");
$tab_array[0] = array("Interface assignments", false, "interfaces_assign.php");
$tab_array[1] = array("Interface Groups", false, "interfaces_groups.php");
$tab_array[2] = array("Wireless", false, "interfaces_wireless.php");
- $tab_array[3] = array("VLANs", true, "interfaces_vlan.php");
+ $tab_array[3] = array("VLANs", false, "interfaces_vlan.php");
$tab_array[4] = array("QinQs", false, "interfaces_qinq.php");
$tab_array[5] = array("PPP", false, "interfaces_ppp.php");
- $tab_array[5] = array("MLPPP", false, "interfaces_mlppp.php");
- $tab_array[6] = array("GRE", false, "interfaces_gre.php");
- $tab_array[7] = array("GIF", false, "interfaces_gif.php");
- $tab_array[8] = array("Bridges", false, "interfaces_bridge.php");
- $tab_array[9] = array("LAGG", false, "interfaces_lagg.php");
+ $tab_array[6] = array("MLPPP", true, "interfaces_mlppp.php");
+ $tab_array[7] = array("GRE", false, "interfaces_gre.php");
+ $tab_array[8] = array("GIF", false, "interfaces_gif.php");
+ $tab_array[9] = array("Bridges", false, "interfaces_bridge.php");
+ $tab_array[10] = array("LAGG", false, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
</td></tr>
@@ -107,34 +107,34 @@ include("head.inc");
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="20%" class="listhdrr">Interface</td>
- <td width="20%" class="listhdrr">VLAN tag</td>
+ <td width="20%" class="listhdrr">mlppp tag</td>
<td width="50%" class="listhdr">Description</td>
<td width="10%" class="list"></td>
</tr>
- <?php $i = 0; foreach ($a_vlans as $vlan): ?>
- <tr ondblclick="document.location='interfaces_vlan_edit.php?id=<?=$i;?>'">
+ <?php $i = 0; foreach ($a_mlppps as $mlppp): ?>
+ <tr ondblclick="document.location='interfaces_mlppp_edit.php?id=<?=$i;?>'">
<td class="listlr">
- <?=htmlspecialchars($vlan['if']);?>
+ <?=htmlspecialchars($mlppp['if']);?>
</td>
<td class="listr">
- <?=htmlspecialchars($vlan['tag']);?>
+ <?=htmlspecialchars($mlppp['tag']);?>
</td>
<td class="listbg">
- <?=htmlspecialchars($vlan['descr']);?>&nbsp;
+ <?=htmlspecialchars($mlppp['descr']);?>&nbsp;
</td>
- <td valign="middle" nowrap class="list"> <a href="interfaces_vlan_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0"></a>
- &nbsp;<a href="interfaces_vlan.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this VLAN?')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0"></a></td>
+ <td valign="middle" nowrap class="list"> <a href="interfaces_mlppp_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0"></a>
+ &nbsp;<a href="interfaces_mlppp.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this mlppp?')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0"></a></td>
</tr>
<?php $i++; endforeach; ?>
<tr>
<td class="list" colspan="3">&nbsp;</td>
- <td class="list"> <a href="interfaces_vlan_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a></td>
+ <td class="list"> <a href="interfaces_mlppp_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a></td>
</tr>
<tr>
<td colspan="3" class="list"><p class="vexpl"><span class="red"><strong>
Note:<br>
</strong></span>
- Not all drivers/NICs support 802.1Q VLAN tagging properly. On cards that do not explicitly support it, VLAN tagging will still work, but the reduced MTU may cause problems. See the <?=$g['product_name']?> handbook for information on supported cards. </p>
+ Not all drivers/NICs support 802.1Q mlppp tagging properly. On cards that do not explicitly support it, mlppp tagging will still work, but the reduced MTU may cause problems. See the <?=$g['product_name']?> handbook for information on supported cards. </p>
</td>
<td class="list">&nbsp;</td>
</tr>
diff --git a/usr/local/www/interfaces_mlppp_edit.php b/usr/local/www/interfaces_mlppp_edit.php
index 5c7b3a8..744a6f2 100644
--- a/usr/local/www/interfaces_mlppp_edit.php
+++ b/usr/local/www/interfaces_mlppp_edit.php
@@ -153,18 +153,65 @@ include("head.inc");
<span class="vexpl">Only mlppp capable interfaces will be shown.</span></td>
</tr>
<tr>
- <td valign="top" class="vncellreq">mlppp tag </td>
+ <td valign="top" class="vncell">Username</td>
<td class="vtable">
- <input name="tag" type="text" class="formfld unknown" id="tag" size="6" value="<?=htmlspecialchars($pconfig['tag']);?>">
- <br>
- <span class="vexpl">802.1Q mlppp tag (between 1 and 4094) </span></td>
+ <input name="username" type="text" class="formfld unknown" id="username" size="10" value="<?=htmlspecialchars($pconfig['username']);?>">
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" class="vncell">Password</td>
+ <td class="vtable">
+ <input name="password" type="text" class="formfld unknown" id="password" size="2" value="<?=htmlspecialchars($pconfig['password']);?>">
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" class="vncell">Service</td>
+ <td class="vtable">
+ <input name="service" type="text" class="formfld unknown" id="service" size="6" value="<?=htmlspecialchars($pconfig['service']);?>">
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" class="vncell">Bandwidth</td>
+ <td class="vtable">
+ <input name="bandwidth" type="text" class="formfld unknown" id="bandwidth" size="6" value="<?=htmlspecialchars($pconfig['bandwidth']);?>">&nbsp;(bits/sec)
+ <br> <span class="vexpl">Set Bandwidth for each link if links have different bandwidths, otherwise, leave blank.</span>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" class="vncell">Link MTU</td>
+ <td class="vtable">
+ <input name="bandwidth" type="text" class="formfld unknown" id="bandwidth" size="6" value="<?=htmlspecialchars($pconfig['bandwidth']);?>">
+ <br> <span class="vexpl">Set Bandwidth for each link if links have different bandwidths, otherwise, leave blank.</span>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" class="vncell">Link MRU</td>
+ <td class="vtable">
+ <input name="bandwidth" type="text" class="formfld unknown" id="bandwidth" size="6" value="<?=htmlspecialchars($pconfig['bandwidth']);?>">
+ <br> <span class="vexpl">Set Bandwidth for each link if links have different bandwidths, otherwise, leave blank.</span>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" class="vncell">Dial On Demand</td>
+ <td class="vtable">
+ <input type="checkbox" value="on" id="ondemand" name="ondemand" <?php if (isset($pconfig['ondemand'])) echo "checked"; ?>> Enable Dial-on-Demand mode
+ <br> <span class="vexpl">This option causes the interface to operate in dial-on-demand mode, allowing you to have a virtual full time connection.
+ The interface is configured, but the actual connection of the link is delayed until qualifying outgoing traffic is detected. </span>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" class="vncell">Idle Timeout</td>
+ <td class="vtable">
+ <input name="timeout" type="text" class="formfld unknown" id="timeout" size="6" value="<?=htmlspecialchars($pconfig['timeout']);?>">
+ <br> <span class="vexpl">Idle Timeout goes with the OnDemand selection above. If OnDemand is not checked this is ignored.</span>
+ </td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Description</td>
<td width="78%" class="vtable">
<input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
- <br> <span class="vexpl">You may enter a description here
- for your reference (not parsed).</span></td>
+ <br> <span class="vexpl">You may enter a description here for your reference (not parsed).</span>
+ </td>
</tr>
<tr>
<td width="22%" valign="top">&nbsp;</td>
diff --git a/usr/local/www/interfaces_ppp.php b/usr/local/www/interfaces_ppp.php
index 1e9fae8..0ef20f0 100644
--- a/usr/local/www/interfaces_ppp.php
+++ b/usr/local/www/interfaces_ppp.php
@@ -90,11 +90,11 @@ include("head.inc");
$tab_array[3] = array("VLANs", false, "interfaces_vlan.php");
$tab_array[4] = array("QinQs", false, "interfaces_qinq.php");
$tab_array[5] = array("PPP", true, "interfaces_ppp.php");
- $tab_array[5] = array("MLPPP", false, "interfaces_mlppp.php");
- $tab_array[6] = array("GRE", false, "interfaces_gre.php");
- $tab_array[7] = array("GIF", false, "interfaces_gif.php");
- $tab_array[8] = array("Bridges", false, "interfaces_bridge.php");
- $tab_array[9] = array("LAGG", false, "interfaces_lagg.php");
+ $tab_array[6] = array("MLPPP", false, "interfaces_mlppp.php");
+ $tab_array[7] = array("GRE", false, "interfaces_gre.php");
+ $tab_array[8] = array("GIF", false, "interfaces_gif.php");
+ $tab_array[9] = array("Bridges", false, "interfaces_bridge.php");
+ $tab_array[10] = array("LAGG", false, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
</td></tr>
diff --git a/usr/local/www/interfaces_qinq.php b/usr/local/www/interfaces_qinq.php
index 6276f6e..22ba578 100755
--- a/usr/local/www/interfaces_qinq.php
+++ b/usr/local/www/interfaces_qinq.php
@@ -99,11 +99,11 @@ include("head.inc");
$tab_array[3] = array("VLANs", false, "interfaces_vlan.php");
$tab_array[4] = array("QinQs", true, "interfaces_qinq.php");
$tab_array[5] = array("PPP", false, "interfaces_ppp.php");
- $tab_array[5] = array("MLPPP", false, "interfaces_mlppp.php");
- $tab_array[6] = array("GRE", false, "interfaces_gre.php");
- $tab_array[7] = array("GIF", false, "interfaces_gif.php");
- $tab_array[8] = array("Bridges", false, "interfaces_bridge.php");
- $tab_array[9] = array("LAGG", false, "interfaces_lagg.php");
+ $tab_array[6] = array("MLPPP", false, "interfaces_mlppp.php");
+ $tab_array[7] = array("GRE", false, "interfaces_gre.php");
+ $tab_array[8] = array("GIF", false, "interfaces_gif.php");
+ $tab_array[9] = array("Bridges", false, "interfaces_bridge.php");
+ $tab_array[10] = array("LAGG", false, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
</td></tr>
diff --git a/usr/local/www/interfaces_vlan.php b/usr/local/www/interfaces_vlan.php
index 6440020..ab901e6 100755
--- a/usr/local/www/interfaces_vlan.php
+++ b/usr/local/www/interfaces_vlan.php
@@ -93,11 +93,11 @@ include("head.inc");
$tab_array[3] = array("VLANs", true, "interfaces_vlan.php");
$tab_array[4] = array("QinQs", false, "interfaces_qinq.php");
$tab_array[5] = array("PPP", false, "interfaces_ppp.php");
- $tab_array[5] = array("MLPPP", false, "interfaces_mlppp.php");
- $tab_array[6] = array("GRE", false, "interfaces_gre.php");
- $tab_array[7] = array("GIF", false, "interfaces_gif.php");
- $tab_array[8] = array("Bridges", false, "interfaces_bridge.php");
- $tab_array[9] = array("LAGG", false, "interfaces_lagg.php");
+ $tab_array[6] = array("MLPPP", false, "interfaces_mlppp.php");
+ $tab_array[7] = array("GRE", false, "interfaces_gre.php");
+ $tab_array[8] = array("GIF", false, "interfaces_gif.php");
+ $tab_array[9] = array("Bridges", false, "interfaces_bridge.php");
+ $tab_array[10] = array("LAGG", false, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
</td></tr>
diff --git a/usr/local/www/interfaces_wireless.php b/usr/local/www/interfaces_wireless.php
index 180de39..847dfe0 100644
--- a/usr/local/www/interfaces_wireless.php
+++ b/usr/local/www/interfaces_wireless.php
@@ -91,11 +91,11 @@ include("head.inc");
$tab_array[3] = array("VLANs", false, "interfaces_vlan.php");
$tab_array[4] = array("QinQs", false, "interfaces_qinq.php");
$tab_array[5] = array("PPP", false, "interfaces_ppp.php");
- $tab_array[5] = array("MLPPP", false, "interfaces_mlppp.php");
- $tab_array[6] = array("GRE", false, "interfaces_gre.php");
- $tab_array[7] = array("GIF", false, "interfaces_gif.php");
- $tab_array[8] = array("Bridges", false, "interfaces_bridge.php");
- $tab_array[9] = array("LAGG", false, "interfaces_lagg.php");
+ $tab_array[6] = array("MLPPP", false, "interfaces_mlppp.php");
+ $tab_array[7] = array("GRE", false, "interfaces_gre.php");
+ $tab_array[8] = array("GIF", false, "interfaces_gif.php");
+ $tab_array[9] = array("Bridges", false, "interfaces_bridge.php");
+ $tab_array[10] = array("LAGG", false, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
</td></tr>
OpenPOWER on IntegriCloud