]> git.puffer.fish Git - matthieu/frr.git/commit
Fix dynamic sessions with multiple bgp instances
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 26 Aug 2015 16:03:30 +0000 (09:03 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 26 Aug 2015 16:03:30 +0000 (09:03 -0700)
commit2aab8d2b2cd88163d48317224635c90f0dd3a50d
tree8753785349256f640145c39df7a07f7ae805c464
parent16cf945a5066f56237a15828c99ded4f42266f0a
Fix dynamic sessions with multiple bgp instances

Ticket:CM-6534
Reviewed by:CCR-3239
Testing: See Bug

Dynamic neighbors did not work properly with multiple bgp instances.
This was caused by the lookup for the dynamic range attempting to
break out of two for loops at the same time.  The break only stopped
the innermost for loop, causing it to only ever find the listen-range
for the last instance in the bm->bgp list.

Additional bug fix for dynamic listen for peer groups that are configured
with internal or external key word.
bgpd/bgpd.c