Skip to content

Commit

Permalink
Save rid to local db (sonic-net#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
kcudnik authored Oct 18, 2016
1 parent 0aa8b3f commit bec9d7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions syncd/syncd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ sai_object_id_t translate_vid_to_rid(
int index = 0;
sai_deserialize_primitive(str_rid, index, rid);

local_vid_to_rid[vid] = rid;

SWSS_LOG_DEBUG("translated VID %llx to RID %llx", vid, rid);

return rid;
Expand Down

0 comments on commit bec9d7c

Please sign in to comment.