]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Create peer_sort_lookup()
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 12 Feb 2020 18:26:19 +0000 (13:26 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 12 Feb 2020 19:45:06 +0000 (14:45 -0500)
commitbf0d28dcf70f1418c860c9f3ef0124ba071566b0
treefb6572395cbfb44b5d4c4de45ac05c5b4f53e462
parentefa618369a8cd05c245fae58e125a3451c098b66
bgpd: Create peer_sort_lookup()

The act of peer_sort() being called always set this value
even when we are just looking it up.  We need to seperate
out the idea of lookup from set.

For those places that this is immediately obvious that
this is a lookup switch over to using this function.

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