mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Fix ModemManager auth support
This commit is contained in:
		
							parent
							
								
									b0de760f6c
								
							
						
					
					
						commit
						a36a5f7563
					
				
					 1 changed files with 6 additions and 3 deletions
				
			
		| 
						 | 
					@ -82,12 +82,15 @@ return network.registerProtocol('modemmanager', {
 | 
				
			||||||
		o = s.taboption('general', form.Value, 'plmn', _('PLMN'));
 | 
							o = s.taboption('general', form.Value, 'plmn', _('PLMN'));
 | 
				
			||||||
		o.datatype = "uinteger";
 | 
							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('both', _('PAP/CHAP (both)'));
 | 
				
			||||||
		o.value('pap', 'PAP');
 | 
							o.value('pap', 'PAP');
 | 
				
			||||||
		o.value('chap', 'CHAP');
 | 
							o.value('chap', 'CHAP');
 | 
				
			||||||
		o.value('none', _('None'));
 | 
							o.value('mschap', 'MSCHAP');
 | 
				
			||||||
		o.default = 'none';
 | 
							o.value('mschapv2', 'MSCHAPv2');
 | 
				
			||||||
 | 
							o.value('eap', 'EAP');
 | 
				
			||||||
 | 
							o.value('', _('None'));
 | 
				
			||||||
 | 
							o.default = '';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		o = s.taboption('general', form.ListValue, 'allowedmode', _('Allowed network technology'),
 | 
							o = s.taboption('general', form.ListValue, 'allowedmode', _('Allowed network technology'),
 | 
				
			||||||
			_('Setting the allowed network technology.'));
 | 
								_('Setting the allowed network technology.'));
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue