Merge pull request #5270 from vgaetera/iface-lo
luci-base: support loopback by widgets.NetworkSelect
This commit is contained in:
commit
adbaa8ad5d
@ -372,7 +372,10 @@ var CBINetworkSelect = form.ListValue.extend({
|
||||
var network = this.networks[i],
|
||||
name = network.getName();
|
||||
|
||||
if (name == 'loopback' || name == this.exclude || !this.filter(section_id, name))
|
||||
if (name == this.exclude || !this.filter(section_id, name))
|
||||
continue;
|
||||
|
||||
if (name == 'loopback' && !this.loopback)
|
||||
continue;
|
||||
|
||||
if (this.novirtual && network.isVirtual())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user