]> git.puffer.fish Git - mirror/frr.git/commit
zebra: set RTNH_F_ONLINK in nexthop creation 5552/head
authorStephen Worley <sworley@cumulusnetworks.com>
Tue, 17 Dec 2019 19:24:22 +0000 (14:24 -0500)
committerStephen Worley <sworley@cumulusnetworks.com>
Tue, 17 Dec 2019 19:24:22 +0000 (14:24 -0500)
commit62d2ecb2f23f07e445a4e4d00d1f787b3c19cd57
tree9ea36b8df6eae29597049e119b9d6e4682aa48f3
parent65bb725102fa546c72215189eb399e0a1076b151
zebra: set RTNH_F_ONLINK in nexthop creation

We were not setting the RTNH_F_ONLINK flag where appropriate
when creating nexthop objects in the kernel.

Set it on the nhmsg.nh_flags netlink message.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/rt_netlink.c