umbim: delegate RFC7278 IPv6 prefixes from OOB config
Delegate prefixes received through MBIM control channel the same way, as would be done through DHCP, according to RFC7278. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
This commit is contained in:
		 Lech Perczak
					Lech Perczak
				
			
				
					committed by
					
						 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
			
				
	
			
			
			 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
						parent
						
							9808b09b91
						
					
				
				
					commit
					2bfbc2dbd8
				
			| @@ -258,6 +258,12 @@ _proto_mbim_setup() { | |||||||
| 			done | 			done | ||||||
| 			json_close_array | 			json_close_array | ||||||
|  |  | ||||||
|  | 			json_add_array ip6prefix | ||||||
|  | 			for address in $ipv6address; do | ||||||
|  | 				json_add_string "" "$address" | ||||||
|  | 			done | ||||||
|  | 			json_close_array | ||||||
|  |  | ||||||
| 			json_add_string ip6gw $(_proto_mbim_get_field ipv6gateway "$mbimconfig") | 			json_add_string ip6gw $(_proto_mbim_get_field ipv6gateway "$mbimconfig") | ||||||
|  |  | ||||||
| 			[ "$peerdns" = 0 ] || { | 			[ "$peerdns" = 0 ] || { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user