commit | 2820a01eed1c616d490ddbfd17793c19597459d1 | [log] [tgz] |
---|---|---|
author | Timo Teräs <timo.teras@iki.fi> | Wed Jun 24 15:27:21 2015 +0300 |
committer | Paul Jakma <paul@quagga.net> | Thu Sep 24 15:26:42 2015 +0100 |
tree | 6a0e418ca25166bd2edcc23a070b4c23d6f99a81 | |
parent | 782fb0770080d0e2970fc63af8645e82543aa4d0 [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.