]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_updgrp.c
BGP: Ensure default-originate works with update-groups
authorvivek <vivek@cumulusnetworks.com>
Mon, 21 Sep 2015 04:09:00 +0000 (21:09 -0700)
committervivek <vivek@cumulusnetworks.com>
Mon, 21 Sep 2015 04:09:00 +0000 (21:09 -0700)
commitf910ef58c5fffa50a87385e5a60c9221fecb426b
tree7751d32e8c6f1bef7a1c592768c30987e0185778
parentd1d16a965e15efda6ac4ec0a4946ff6f4310f674
BGP: Ensure default-originate works with update-groups

Ticket: CM-7113
Reviewed By: CCR-3458
Testing Done: Manual testing, failed test, bgpsmoke (on 2.5-br)

This is a port of patch bgpd-update-groups-fix-default-originate.patch
from 2.5-br.

Even though default origination is configured for a BGP neighbor through
"neighbor default-originate" or "peer-group default-originate", the neighbor
may sometimes not receive the default route in some situations. Change to
ensure update subgroups also differentiate on default-originate sent status.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: Vipin Kumar <vipin@cumulusnetworks.com>
bgpd/bgp_updgrp.c