]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Use stored ifindex for zebra_announce 1330/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 23 Oct 2017 22:10:01 +0000 (18:10 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 23 Oct 2017 22:12:33 +0000 (18:12 -0400)
commitafb6d3f5c1bc66c64b956e575fbf87f6a6804456
tree3cf0cec06fcb1f008d480f556d3f55cb71c6894f
parent5a762c8a6ee96265c8d5dcfeeab3dc8cc33c22cd
bgpd: Use stored ifindex for zebra_announce

In some situations we already know the ifp and by extension
the ifindex there is no need to look it up for every
route we send to zebra.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_zebra.c