summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal Luci <eri@pfsense.org>2009-01-20 18:01:34 +0000
committerErmal Luci <eri@pfsense.org>2009-01-20 18:01:34 +0000
commita0188aa68671a5f6a88bc538e4ce5cc58f25ad70 (patch)
tree79fff7138b052b8aedac5f3e0a0e466852e05b2c /usr
parent9a5bd870803039a82d9bca862c07b66a57d7cefc (diff)
downloadpfsense-a0188aa68671a5f6a88bc538e4ce5cc58f25ad70.zip
pfsense-a0188aa68671a5f6a88bc538e4ce5cc58f25ad70.tar.gz
Allow vlans to be created on lagg interfaces on the GUI.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces_vlan_edit.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/local/www/interfaces_vlan_edit.php b/usr/local/www/interfaces_vlan_edit.php
index f335ab8..063387d 100755
--- a/usr/local/www/interfaces_vlan_edit.php
+++ b/usr/local/www/interfaces_vlan_edit.php
@@ -46,6 +46,12 @@ $a_vlans = &$config['vlans']['vlan'];
$portlist = get_interface_list();
+/* add LAGG interfaces */
+if (is_array($config['laggs']['lagg']) && count($config['laggs']['lagg'])) {
+ foreach ($config['laggs']['lagg'] as $lagg) {
+ $portlist[$lagg['laggif']] = $lagg;
+}
+
$id = $_GET['id'];
if (isset($_POST['id']))
$id = $_POST['id'];
OpenPOWER on IntegriCloud