diff options
| author | Abhinay Ramesh <rabhinay@vmware.com> | 2021-04-01 05:17:54 +0000 |
|---|---|---|
| committer | Abhinay Ramesh <rabhinay@vmware.com> | 2021-04-07 06:09:42 +0000 |
| commit | 6b2433c63f7fd3027cea8e06ca45f85bd3eea6f2 (patch) | |
| tree | 70ff977d93826cb0c6edc0797b3f259f3078e8e5 /pceplib/test/pcep_utils_tests.c | |
| parent | b19c4f0829d9841858b146688207975c8f0d2d05 (diff) | |
bgpd: vrf route leaking, fix vrf redistribute
Description:
After FRR restart, routes are not getting redistributed;
when routes added first and then 'redistribute static' cmd is issued.
During the frr restart, vrf_id will be unknown,
so irrespective of redistribution, we set the redistribute vrf bitmap.
Later, when we add a route and then issue 'redistribute' cmd,
we check the redistribute vrf bitmap and return CMD_WARNING;
zebra_redistribute_add also checks the redistribute vrf bitmap and returns.
Instead of checking the redistribute vrf bitmap, always set it anyways.
Co-authored-by: Santosh P K <sapk@vmware.com>
Co-authored-by: Kantesh Mundaragi <kmundaragi@vmware.com>
Signed-off-by: Abhinay Ramesh <rabhinay@vmware.com>
Diffstat (limited to 'pceplib/test/pcep_utils_tests.c')
0 files changed, 0 insertions, 0 deletions
