1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-14 19:41:51 +00:00

Fix ModemManager auth support

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-08-27 09:30:03 +02:00
parent b0de760f6c
commit a36a5f7563

View file

@ -82,12 +82,15 @@ return network.registerProtocol('modemmanager', {
o = s.taboption('general', form.Value, 'plmn', _('PLMN'));
o.datatype = "uinteger";
o = s.taboption('general', form.ListValue, 'auth', _('Authentication Type'));
o = s.taboption('general', form.DynamicList, 'allowedauth', _('Authentication Type'));
o.value('both', _('PAP/CHAP (both)'));
o.value('pap', 'PAP');
o.value('chap', 'CHAP');
o.value('none', _('None'));
o.default = 'none';
o.value('mschap', 'MSCHAP');
o.value('mschapv2', 'MSCHAPv2');
o.value('eap', 'EAP');
o.value('', _('None'));
o.default = '';
o = s.taboption('general', form.ListValue, 'allowedmode', _('Allowed network technology'),
_('Setting the allowed network technology.'));