summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luci <eri@pfsense.org>2009-01-24 01:04:23 +0000
committerErmal Luci <eri@pfsense.org>2009-01-24 01:04:23 +0000
commitd58d04c3ee0974a9540180acf838f9e0ff6627ed (patch)
treef57ce8644639ed5fbb4029886a3ca5bb7bbea43f
parenta0188aa68671a5f6a88bc538e4ce5cc58f25ad70 (diff)
downloadpfsense-d58d04c3ee0974a9540180acf838f9e0ff6627ed.zip
pfsense-d58d04c3ee0974a9540180acf838f9e0ff6627ed.tar.gz
Allow to create VLANs on top of LAGG interfaces in the GUI.
-rw-r--r--usr/local/www/interfaces_lagg_edit.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/local/www/interfaces_lagg_edit.php b/usr/local/www/interfaces_lagg_edit.php
index 032e239..c73676e 100644
--- a/usr/local/www/interfaces_lagg_edit.php
+++ b/usr/local/www/interfaces_lagg_edit.php
@@ -37,6 +37,12 @@ $a_laggs = &$config['laggs']['lagg'];
$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;
+}
+
$checklist = get_configured_interface_list(false, true);
$realifchecklist = array();
foreach ($checklist as $tmpif)
OpenPOWER on IntegriCloud