]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: solve issue entering aggregate twice
authorDon Slice <dslice@cumulusnetworks.com>
Fri, 28 Sep 2018 15:55:39 +0000 (15:55 +0000)
committerDon Slice <dslice@cumulusnetworks.com>
Fri, 28 Sep 2018 16:03:42 +0000 (16:03 +0000)
commit7ce8a8e022689140cbda219ec65a36f3b78a3518
treefa0212d4307fb92d3a82f8c821b992e0830d417f
parent979ee884911aeeda2b1dd0942e07d68d4b32e955
bgpd: solve issue entering aggregate twice

Problem reported that frr-relaod.py was not installing an aggregate
properly.  Problem was actually that frr-reload.py does the command
twice, and the second time the aggregate command was entered, it would
appear in the config but the aggregate was removed from the bgp table
and not advertised to peers.  Solved by noticing when an aggregate
was marked for deletion (info_invalid) and allowing the re-entry if
the old one was being removed.

Ticket: CM-22509
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
bgpd/bgp_route.c