Merge pull request #13964 from pguibert6WIND/mpls_again

zebra: fix mpls config on ifaces created post frr
This commit is contained in:
Russ White 2023-07-11 10:12:04 -04:00 committed by GitHub
commit f0f2c7be41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.",