]> git.proxmox.com Git - mirror_frr.git/commit
zebra: Allow bh_type to override nexthop selection
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 30 Aug 2017 23:38:22 +0000 (19:38 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 31 Aug 2017 23:36:06 +0000 (19:36 -0400)
commitaf760ec192d93ece48a1c7b4e5bc4ed4a78507e1
treefe1a3e7c0dffa4a5be66a4745a86f2adca7df74d
parentff228d294813d59ca97b71995aa2d524476c08f0
zebra: Allow bh_type to override nexthop selection

If we've set the bh_type to something besides BLACKHOLE_UNSPEC
due to the received route type being RTN_BLACKHOLE,
RTN_UNREACHABLE or RTN_PROHIBIT then just trust that
the nexthop is just what it is and set accordingly.

Fixes: #1082
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/rt_netlink.c