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 commit 1c4284150dff9d37503f6f901d047c0caa9a3af0)
This commit is contained in:
parent
dfd499b4d4
commit
7147b37a24
@ -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…
x
Reference in New Issue
Block a user