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:
Jo-Philipp Wich 2023-12-08 13:01:13 +01:00
parent ea81dde0eb
commit 864bf25244

View file

@ -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;