mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 10:14:50 +00:00
Merge pull request #13964 from pguibert6WIND/mpls_again
zebra: fix mpls config on ifaces created post frr
This commit is contained in:
commit
f0f2c7be41
@ -610,6 +610,11 @@ void if_add_update(struct interface *ifp)
|
||||
|
||||
if_addr_wakeup(ifp);
|
||||
|
||||
if (if_data->mpls_config == IF_ZEBRA_DATA_ON)
|
||||
dplane_intf_mpls_modify_state(ifp, true);
|
||||
else if (if_data->mpls_config == IF_ZEBRA_DATA_OFF)
|
||||
dplane_intf_mpls_modify_state(ifp, false);
|
||||
|
||||
if (IS_ZEBRA_DEBUG_KERNEL)
|
||||
zlog_debug(
|
||||
"interface %s vrf %s(%u) index %d becomes active.",
|
||||
|
Loading…
Reference in New Issue
Block a user