mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 20:22:36 +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,6 +768,7 @@ void if_handle_vrf_change(struct interface *ifp, vrf_id_t vrf_id)
|
|||||||
zebra_interface_vrf_update_add(ifp, old_vrf_id);
|
zebra_interface_vrf_update_add(ifp, old_vrf_id);
|
||||||
|
|
||||||
/* Install connected routes (in new VRF). */
|
/* Install connected routes (in new VRF). */
|
||||||
|
if (if_is_operative(ifp))
|
||||||
if_install_connected(ifp);
|
if_install_connected(ifp);
|
||||||
|
|
||||||
static_ifindex_update(ifp, true);
|
static_ifindex_update(ifp, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user