]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_zebra.c
bgpd: fix updating redist bitmask when vrf_id changes
authorDon Slice <dslice@cumulusnetworks.com>
Wed, 10 Jan 2018 19:40:45 +0000 (19:40 +0000)
committerDon Slice <dslice@cumulusnetworks.com>
Wed, 10 Jan 2018 19:54:21 +0000 (19:54 +0000)
commit48c74f88259c8f706035d6fc80765f4a6f6594f7
treec8a0bdcd3d957b9ef5b37af18c3d43fa147fa104
parentd1df0eedc322631b32009acc493fa0b746a8e0a9
bgpd: fix updating redist bitmask when vrf_id changes

Problem reported that when "systemctl restart networking" was
performed, prefixes previously redistributed into bgp from connected
were deleted from the bgp table.  Determined that we were not correctly
changing the redistribution bitmask when the vrf_id of the vrf was
changed. This patch corrects that behavior.

Manual tests look good. bgp-min and vrf-min completed with no new failures.

Ticket: CM-19369
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_zebra.c