summaryrefslogtreecommitdiff
path: root/lib/buffer.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-11-15 09:39:35 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-05-17 08:48:46 -0400
commit1f0a6ed1f1270a1a3c12bd67675c434c6f05be69 (patch)
treed2744a5cfa73508b30346a00a97d21979f6db72d /lib/buffer.c
parent77566facad2070deda29fc636de5a6526110c792 (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/buffer.c')
0 files changed, 0 insertions, 0 deletions