mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 09:20:25 +00:00
staticd: do not forget to set table id marker on zebra message
Table identifier is not read if table id marker is not set. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
f69f6f56f5
commit
31d4a8e5f0
@ -273,8 +273,10 @@ extern void static_zebra_route_add(struct route_node *rn,
|
|||||||
SET_FLAG(api.message, ZAPI_MESSAGE_TAG);
|
SET_FLAG(api.message, ZAPI_MESSAGE_TAG);
|
||||||
api.tag = si_changed->tag;
|
api.tag = si_changed->tag;
|
||||||
}
|
}
|
||||||
api.tableid = si_changed->table_id;
|
if (si_changed->table_id != 0) {
|
||||||
|
SET_FLAG(api.message, ZAPI_MESSAGE_TABLEID);
|
||||||
|
api.tableid = si_changed->table_id;
|
||||||
|
}
|
||||||
zlog_debug("Distance sent down: %d %d", si_changed->distance, install);
|
zlog_debug("Distance sent down: %d %d", si_changed->distance, install);
|
||||||
for (/*loaded above*/; si; si = si->next) {
|
for (/*loaded above*/; si; si = si->next) {
|
||||||
api_nh = &api.nexthops[nh_num];
|
api_nh = &api.nexthops[nh_num];
|
||||||
|
Loading…
Reference in New Issue
Block a user