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> (cherry picked from commit1c4284150d
)
This commit is contained in:
parent
dfd499b4d4
commit
7147b37a24
1 changed files with 1 additions and 1 deletions
|
@ -909,7 +909,7 @@ return view.extend({
|
|||
}
|
||||
|
||||
return m.save(function() {
|
||||
uci.add('network', 'interface', nameval);
|
||||
var section_id = uci.add('network', 'interface', nameval);
|
||||
|
||||
protoclass.set('proto', protoval);
|
||||
|
||||
|
|
Loading…
Reference in a new issue