This is required to resolve conflicts with the existing "device" option
in other proto handlers such as PPP or QMI where "device" refers to the
device path of the tty control device instead of a netdev name.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
10f02472c5fdab72615a7d3695e8f354811cd661)
.then(L.bind(this.renderMoreOptionsModal, this, s.section));
}, this);
- o = s.taboption('general', widgets.DeviceSelect, 'device', _('Device'));
+ o = s.taboption('general', widgets.DeviceSelect, '_net_device', _('Device'));
+ o.ucioption = 'device';
o.nobridges = false;
o.optional = false;
o.network = ifc.getName();
case 'igmp_snooping':
case 'stp':
case 'type':
- case 'device':
+ case '_net_device':
var deps = [];
for (var j = 0; j < protocols.length; j++) {
if (!protocols[j].isVirtual()) {