Skip to content
Browse files

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 <>
  • Loading branch information...
pguibert6WIND committed Aug 22, 2018
1 parent f69f6f5 commit 31d4a8e5f0dab3bec0de4dfed626ae8469e86398
Showing with 4 additions and 2 deletions.
  1. +4 −2 staticd/static_zebra.c
@@ -273,8 +273,10 @@ extern void static_zebra_route_add(struct route_node *rn,
api.tag = si_changed->tag;
api.tableid = si_changed->table_id;

if (si_changed->table_id != 0) {
api.tableid = si_changed->table_id;
zlog_debug("Distance sent down: %d %d", si_changed->distance, install);
for (/*loaded above*/; si; si = si->next) {
api_nh = &api.nexthops[nh_num];

0 comments on commit 31d4a8e

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.