mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-26 03:07:51 +00:00
Merge pull request #2078 from dslicenc/fix-import-table-fix
zebra: fix flaw in fix for import-table crash
This commit is contained in:
commit
c477dd0e7c
@ -531,7 +531,7 @@ int zebra_add_import_table_entry(struct route_node *rn, struct route_entry *re,
|
|||||||
re->tag, rmap_name);
|
re->tag, rmap_name);
|
||||||
|
|
||||||
if (ret != RMAP_MATCH) {
|
if (ret != RMAP_MATCH) {
|
||||||
UNSET_FLAG(same->flags, ZEBRA_FLAG_SELECTED);
|
UNSET_FLAG(re->flags, ZEBRA_FLAG_SELECTED);
|
||||||
zebra_del_import_table_entry(rn, re);
|
zebra_del_import_table_entry(rn, re);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user