summaryrefslogtreecommitdiff
path: root/lib/imsg-buffer.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-03-16 09:12:55 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-03-16 09:12:55 -0400
commitdc38e9ce001bd8fc0de97f5185bf72fd946ea532 (patch)
treed11d6457f91ab94d4b677a06c34ffa77effebe37 /lib/imsg-buffer.c
parent46fe6fd55742c0fb6b2261afac8674a5f7d1979e (diff)
bgpd: Clean up peer status checking for a received nlri
In bgp_update_receive the first thing we do is establish that the peer->status is Established. We then do a bunch of work and call bgp_nlri_parse where we break out for each address family. Each AFI is then checking for being peer->status is Established again. There is no point in checking this again. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/imsg-buffer.c')
0 files changed, 0 insertions, 0 deletions