diff options
author | Ermal Luci <eri@pfsense.org> | 2009-01-24 01:04:23 +0000 |
---|---|---|
committer | Ermal Luci <eri@pfsense.org> | 2009-01-24 01:04:23 +0000 |
commit | d58d04c3ee0974a9540180acf838f9e0ff6627ed (patch) | |
tree | f57ce8644639ed5fbb4029886a3ca5bb7bbea43f | |
parent | a0188aa68671a5f6a88bc538e4ce5cc58f25ad70 (diff) | |
download | pfsense-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.php | 6 |
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) |