mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Fix bypass for custom domains
This commit is contained in:
		
							parent
							
								
									faa4f0f793
								
							
						
					
					
						commit
						5126ed5710
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -310,7 +310,7 @@ _bypass_proto() {
 | 
			
		|||
	domains="$(cat /proc/net/xt_ndpi/host_proto | grep -i $proto: | sed -e "s/$proto://" -e 's/*//' -e 's/,/ /g')"
 | 
			
		||||
	if [ -n "$domains" ]; then
 | 
			
		||||
		for domain in $domains; do
 | 
			
		||||
			if [ -n "$domain" ] && [ "$(uci -q show omr-bypass | grep $domain)" = "" ]; then
 | 
			
		||||
			if [ -n "$domain" ]; then
 | 
			
		||||
				_bypass_domain $domain $intf
 | 
			
		||||
			fi
 | 
			
		||||
		done
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue