diff options
author | Russ White <russ@riw.us> | 2023-07-11 16:12:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-11 16:12:04 +0200 |
commit | f0f2c7be41c23bf650d4d9baefc9818150974f36 (patch) | |
tree | b787bd8d04d43c7b6915f2dd40bc98ee26a08488 /zebra/interface.c | |
parent | Merge pull request #13970 from ton31337/fix/bgpd_tunnel_encap_attr (diff) | |
parent | zebra: fix mpls config on ifaces created post frr (diff) | |
download | frr-f0f2c7be41c23bf650d4d9baefc9818150974f36.tar.xz frr-f0f2c7be41c23bf650d4d9baefc9818150974f36.zip |
Merge pull request #13964 from pguibert6WIND/mpls_again
zebra: fix mpls config on ifaces created post frr
Diffstat (limited to 'zebra/interface.c')
-rw-r--r-- | zebra/interface.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/interface.c b/zebra/interface.c index e923c0a18..7df73e298 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -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.", |