diff options
author | Chris Rowe <chris@c-c-c.co.uk> | 2016-04-24 23:55:28 +0100 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-06-22 10:55:50 -0400 |
commit | de1bacbcd1473f52994601fead5e6949860f1f0a (patch) | |
tree | 1bde0cde70cdd49e032873c2ea099f6a150f3356 /src/usr | |
parent | 61d6a840d01acf1aa744ed8c97c6acd903ce2ccc (diff) | |
download | pfsense-de1bacbcd1473f52994601fead5e6949860f1f0a.zip pfsense-de1bacbcd1473f52994601fead5e6949860f1f0a.tar.gz |
Make QinQ interfaces work again
(cherry picked from commit 1322ee22354f1a6e184819fb7009a2996b63de97)
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/interfaces_assign.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/interfaces_assign.php b/src/usr/local/www/interfaces_assign.php index 68d2d32..73d4839 100644 --- a/src/usr/local/www/interfaces_assign.php +++ b/src/usr/local/www/interfaces_assign.php @@ -191,13 +191,13 @@ if (is_array($config['laggs']['lagg']) && count($config['laggs']['lagg'])) { /* add QinQ interfaces */ if (is_array($config['qinqs']['qinqentry']) && count($config['qinqs']['qinqentry'])) { foreach ($config['qinqs']['qinqentry'] as $qinq) { - $portlist["vlan{$qinq['tag']}"]['descr'] = "VLAN {$qinq['tag']}"; - $portlist["vlan{$qinq['tag']}"]['isqinq'] = true; + $portlist["{$qinq['vlanif']}"]['descr'] = "VLAN {$qinq['tag']} on {$qinq['if']}"; + $portlist["{$qinq['vlanif']}"]['isqinq'] = true; /* QinQ members */ $qinqifs = explode(' ', $qinq['members']); foreach ($qinqifs as $qinqif) { - $portlist["vlan{$qinq['tag']}_{$qinqif}"]['descr'] = "QinQ {$qinqif}"; - $portlist["vlan{$qinq['tag']}_{$qinqif}"]['isqinq'] = true; + $portlist["{$qinq['vlanif']}_{$qinqif}"]['descr'] = "QinQ {$qinqif} on VLAN {$qinq['tag']} on {$qinq['if']}"; + $portlist["{$qinq['vlanif']}_{$qinqif}"]['isqinq'] = true; } } } |