mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-11-03 23:47:16 +00:00 
			
		
		
		
	pimd: use correct VRF when processing interface address add
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
		
							parent
							
								
									de093103cb
								
							
						
					
					
						commit
						4bb0e8f0c0
					
				@ -164,7 +164,7 @@ static int pim_zebra_if_address_add(ZAPI_CALLBACK_ARGS)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (if_is_loopback(c->ifp)) {
 | 
			
		||||
		struct vrf *vrf = vrf_lookup_by_id(VRF_DEFAULT);
 | 
			
		||||
		struct vrf *vrf = vrf_lookup_by_id(vrf_id);
 | 
			
		||||
		struct interface *ifp;
 | 
			
		||||
 | 
			
		||||
		FOR_ALL_INTERFACES (vrf, ifp) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user