mirror of
				https://git.openwrt.org/project/luci.git
				synced 2025-10-31 10:49:03 +08:00 
			
		
		
		
	protocols: l2tp: add option hostname
This adds the possibility to set our own L2TP hostname in the advanced tab. It's needed if the peer only allows certain hostnames to connect. Signed-off-by: Martin Schiller <ms@dev.tdt.de>
This commit is contained in:
		 Martin Schiller
					Martin Schiller
				
			
				
					committed by
					
						 Paul Donald
						Paul Donald
					
				
			
			
				
	
			
			
			 Paul Donald
						Paul Donald
					
				
			
						parent
						
							bc900b5d1c
						
					
				
				
					commit
					87375a5cf0
				
			| @ -57,5 +57,7 @@ return network.registerProtocol('l2tp', { | ||||
| 		o = s.taboption('advanced', form.Value, 'mtu', _('Override MTU')); | ||||
| 		o.placeholder = dev ? (dev.getMTU() || '1500') : '1500'; | ||||
| 		o.datatype    = 'max(9200)'; | ||||
|  | ||||
| 		o = s.taboption('advanced', form.Value, 'hostname', _('L2TP Hostname')); | ||||
| 	} | ||||
| }); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user