Merge pull request #3391 from TobleMiner/feature-vlan-description
luci-mod-network: Add description field to VLANs (trivial)
This commit is contained in:
commit
390dc2805a
1 changed files with 2 additions and 0 deletions
|
@ -334,6 +334,8 @@ return L.view.extend({
|
|||
return (value || uci.get('network', section_id, 'vlan'));
|
||||
};
|
||||
|
||||
s.option(form.Value, 'description', _('Description'));
|
||||
|
||||
for (var j = 0; Array.isArray(topology.ports) && j < topology.ports.length; j++) {
|
||||
var portspec = topology.ports[j],
|
||||
portstate = Array.isArray(topology.portstate) ? topology.portstate[portspec.num] : null;
|
||||
|
|
Loading…
Reference in a new issue