]> git.puffer.fish Git - mirror/frr.git/commit
bgpd, zebra: Add ifindex to NEXTHOP_TYPE_IPV4
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 6 Mar 2017 13:16:43 +0000 (08:16 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 6 Mar 2017 13:40:41 +0000 (08:40 -0500)
commita18ed03f9b9d7546c7f8149e6e769d635a077708
treec00b60d7f78809dea4670bd1857bc8f3754d1852
parent5f413b14733f688870197b126d5d8c3e5470c118
bgpd, zebra: Add ifindex to NEXTHOP_TYPE_IPV4

When passing up NEXTHOP_TYPE_IPV4 pass up the ifindex as well
Zebra already stores this data by passing it up PIM will be
able to use NEXTHOP_TYPE_IPV4 without having to do a recursive
lookup.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: Chirag Shah <chirag@cumulusnetworks.com>
bgpd/bgp_nht.c
zebra/zebra_rnh.c