mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Fix bypass port destination
This commit is contained in:
		
							parent
							
								
									8fdb3fef12
								
							
						
					
					
						commit
						e4a6d5e4fb
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -62,13 +62,12 @@ return L.view.extend({
 | 
			
		|||
		o = s.option(form.Value, 'dport', _('port'));
 | 
			
		||||
		o.rmempty = false;
 | 
			
		||||
 | 
			
		||||
		o = s.option(form.MultiValue, 'proto', _('protocol'));
 | 
			
		||||
		o = s.option(form.ListValue, 'proto', _('protocol'));
 | 
			
		||||
		o.default = 'tcp';
 | 
			
		||||
		o.modalonly = true;
 | 
			
		||||
		o.custom = true;
 | 
			
		||||
		o.rmempty = false;
 | 
			
		||||
		o.value('tcp');
 | 
			
		||||
		o.value('udp');
 | 
			
		||||
		o.value('icmp');
 | 
			
		||||
 | 
			
		||||
		o = s.option(widgets.DeviceSelect, 'interface', _('Interface'));
 | 
			
		||||
		o.noaliases = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue