diff options
author | Russ White <russ@riw.us> | 2022-06-24 16:15:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-24 16:15:55 +0200 |
commit | a9adefc22fe93a5019b42a51759fde2823834d22 (patch) | |
tree | 7a57acb03cae47c1dd175be7a2c229ee08054e53 /zebra/rt_netlink.c | |
parent | Merge pull request #11467 from mobash-rasool/fixes2 (diff) | |
parent | zebra: Allow kernel routes to stick around better on interface state changes (diff) | |
download | frr-a9adefc22fe93a5019b42a51759fde2823834d22.tar.xz frr-a9adefc22fe93a5019b42a51759fde2823834d22.zip |
Merge pull request #11464 from donaldsharp/linkdown
Linkdown
Diffstat (limited to 'zebra/rt_netlink.c')
-rw-r--r-- | zebra/rt_netlink.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c index 22f2d742e..ad9e13a0f 100644 --- a/zebra/rt_netlink.c +++ b/zebra/rt_netlink.c @@ -535,6 +535,9 @@ parse_nexthop_unicast(ns_id_t ns_id, struct rtmsg *rtm, struct rtattr **tb, if (rtm->rtm_flags & RTNH_F_ONLINK) SET_FLAG(nh.flags, NEXTHOP_FLAG_ONLINK); + if (rtm->rtm_flags & RTNH_F_LINKDOWN) + SET_FLAG(nh.flags, NEXTHOP_FLAG_LINKDOWN); + if (num_labels) nexthop_add_labels(&nh, ZEBRA_LSP_STATIC, num_labels, labels); |