summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-06-24 15:27:21 +0300
committervivek <vivek@cumulusnetworks.com>2016-06-06 09:14:25 -0700
commit43ed4fe5cb02360b028182719eec1db06405f463 (patch)
treec7497df882acad3d429a492c38ecc4438ffa55fb /lib/command.c
parentb4575c00ced02228266a80e2b9b79b569e7760f3 (diff)
bgpd: Make bgp_info_cmp robust to paths that do not have su_remote info
My original su_remote == NULL check is not correct. It seems that * bgp_route.c: (bgp_info_cmp) Some bgp_info is compared with su_remote=NULL and it's supposed to be perfectly legal. E.g. configured subnet announces ("network a.b.c.d/n"). Ensure bgp_info_cmp is robust if such a path gets as far as the neighbour address comparison step. (cherry picked from commit 2820a01eed1c616d490ddbfd17793c19597459d1) Conflicts: bgpd/bgp_route.c
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions