mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Do not set IPv6 DSCP rules in dnsmasq if AAAA resolution is disabled
This commit is contained in:
		
							parent
							
								
									e91a9e5c3d
								
							
						
					
					
						commit
						57015c9835
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -21,7 +21,7 @@ config_get lan_device lan ifname
 | 
			
		|||
_add_dscp_domain() {
 | 
			
		||||
	domain=""; config_get domain "$1" name ""
 | 
			
		||||
	class=""; config_get class "$1" class ""
 | 
			
		||||
	[ -n "$domain" ] && [ -n "$class" ] && [ -z "$(uci -q get dhcp.omr_dscp_$class.domain | grep $domain)" ] && {
 | 
			
		||||
	[ -n "$domain" ] && [ -n "$class" ] && [ -z "$(uci -q get dhcp.omr_dscp_$class.domain | grep $domain)" ] && [ "$(uci -q get dhcp.dnsmasq1.filter_aaaa)" != "1" ]&& {
 | 
			
		||||
		uci -q batch <<-EOF
 | 
			
		||||
			add_list dhcp.omr_dscp_$class.domain="$domain"
 | 
			
		||||
			commit dhcp
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue