luci-mod-network: fix invalid variable access when creating interfaces
Fixes: eeef38d534
("luci-mod-network: add support for bridge vlan filtering")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
3bcbcbf088
commit
1c4284150d
1 changed files with 1 additions and 1 deletions
|
@ -825,7 +825,7 @@ return view.extend({
|
||||||
}
|
}
|
||||||
|
|
||||||
return m.save(function() {
|
return m.save(function() {
|
||||||
uci.add('network', 'interface', nameval);
|
var section_id = uci.add('network', 'interface', nameval);
|
||||||
|
|
||||||
protoclass.set('proto', protoval);
|
protoclass.set('proto', protoval);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue