mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 13:31:48 +00:00
Merge pull request #1661 from donaldsharp/connected
zebra: Install connected routes during VRF change only if interface i…
This commit is contained in:
commit
c228c75be3
@ -768,7 +768,8 @@ void if_handle_vrf_change(struct interface *ifp, vrf_id_t vrf_id)
|
||||
zebra_interface_vrf_update_add(ifp, old_vrf_id);
|
||||
|
||||
/* Install connected routes (in new VRF). */
|
||||
if_install_connected(ifp);
|
||||
if (if_is_operative(ifp))
|
||||
if_install_connected(ifp);
|
||||
|
||||
static_ifindex_update(ifp, true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user