luci-mod-network: exclude alias to self from device picker
Do not present alias to self as valid choice in the interface device picker. Fixes: #6754 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
ea81dde0eb
commit
864bf25244
1 changed files with 1 additions and 0 deletions
|
@ -588,6 +588,7 @@ return view.extend({
|
|||
o.nobridges = false;
|
||||
o.optional = false;
|
||||
o.network = ifc.getName();
|
||||
o.exclude = '@' + ifc.getName();
|
||||
|
||||
o = s.taboption('general', form.Flag, 'auto', _('Bring up on boot'));
|
||||
o.modalonly = true;
|
||||
|
|
Loading…
Reference in a new issue