mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 05:13:07 +00:00
zebra: Continue rm update if table not found
Add a check for after table lookup during route map update. If the table ID does not exist, continue. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
This commit is contained in:
parent
db95656d48
commit
2c7ef20dc9
@ -770,6 +770,13 @@ void zebra_import_table_rm_update(const char *rmap)
|
|||||||
continue;
|
continue;
|
||||||
table = zebra_vrf_table_with_table_id(afi, SAFI_UNICAST,
|
table = zebra_vrf_table_with_table_id(afi, SAFI_UNICAST,
|
||||||
i, VRF_DEFAULT);
|
i, VRF_DEFAULT);
|
||||||
|
if (!table) {
|
||||||
|
if (IS_ZEBRA_DEBUG_RIB_DETAILED)
|
||||||
|
zlog_debug("%s: Table id=%d not found",
|
||||||
|
__func__, i);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
for (rn = route_top(table); rn; rn = route_next(rn)) {
|
for (rn = route_top(table); rn; rn = route_next(rn)) {
|
||||||
/* For each entry in the non-default
|
/* For each entry in the non-default
|
||||||
* routing table,
|
* routing table,
|
||||||
|
Loading…
Reference in New Issue
Block a user