]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Refactor looping for talking to zebra
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 22 Jun 2017 18:28:23 +0000 (14:28 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 22 Jun 2017 18:28:23 +0000 (14:28 -0400)
commit434f47215873dce33551f78a134c113a1cdcb621
tree7ba74e510b02447ee8664e77d884d688d9572a9b
parentd1e7e033fdcc82015da43a7d1640ffeee486ec83
bgpd: Refactor looping for talking to zebra

The data for each nexthop is stored off of the info
pointer, instead of handling the first one and then looping
over the remaining, just loop over them all and handle the
first one as a special case.

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