diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-11-15 09:39:35 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-16 15:06:35 -0400 |
| commit | c358f112a6733d3507ad8cdc16fb54235dd065f9 (patch) | |
| tree | e2b487fd0752000514908bf444c9d4ff3967b213 /lib/pqueue.c | |
| parent | 9b938b384c13440670ac77de47b39a1f53b7bdc9 (diff) | |
bgpd: Fix occassional turn off of extended-nexthop for an if
Sometimes, like once every 400 iterations, when you restart
Quagga, extended-nexthop has been turned off for interface
based config( for 5549 ).
Examining the code, there is only 1 real path to setting
the PEER_FLAG_CAPABILITITY_ENHE and that is through
peer_conf_interface_get. Modify this code path
to always set the PEER_FLAG_CAPABILITY_ENHE if it is
not already set.
In addition, fix a possible pointer dereference.
Ticket: CM-12929
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/pqueue.c')
0 files changed, 0 insertions, 0 deletions
