diff options
| author | zyxwvu Shi <i@shiyc.cn> | 2023-02-15 23:55:00 +0800 |
|---|---|---|
| committer | zyxwvu Shi <i@shiyc.cn> | 2023-02-15 23:55:30 +0800 |
| commit | 207207c0c03e1108d1bae5cf345b7a29850e6ffd (patch) | |
| tree | 11ed0cc329abe7eddd60cf16e4995d0294999ed8 /lib/command_py.c | |
| parent | 7bdeb1cd8470b0ff4b95c9f5788cdabad35ac722 (diff) | |
zebra: Fix other table inactive when ip import-table is on
In `rib_link`, if is_zebra_import_table_enabled returns
true, `rib_queue_add` will not called, resulting in other
table route node never processed. This actually should not
be dependent on whether the route is imported.
In `rib_delnode`, if is_zebra_import_table_enabled returns
true, it will use `rib_unlink` instead of enqueuing the
route node for process. There is no reason that imported
route nodes should not be reprocessed. Long ago, the
behaviour was dependent on whether the route_entry comes
from a table other than main.
Signed-off-by: zyxwvu Shi <i@shiyc.cn>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions
