luci-base: widgets.js: CBINetworkSelect: honour exclude option
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
c2d6770801
commit
24aa675a46
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ var CBINetworkSelect = form.ListValue.extend({
|
|||
var network = this.networks[i],
|
||||
name = network.getName();
|
||||
|
||||
if (name == 'loopback' || !this.filter(section_id, name))
|
||||
if (name == 'loopback' || name == this.exclude || !this.filter(section_id, name))
|
||||
continue;
|
||||
|
||||
if (this.novirtual && network.isVirtual())
|
||||
|
|
Loading…
Reference in a new issue