Skip to content

Commit

Permalink
lib:fix get srte color failed
Browse files Browse the repository at this point in the history
Signed-off-by: guozhongfeng.gzf <[email protected]>
  • Loading branch information
guoguojia2021 committed Nov 27, 2024
1 parent 1dcb4bb commit cf3dbe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zclient.c
Original file line number Diff line number Diff line change
Expand Up @@ -2377,7 +2377,7 @@ static bool zapi_nexthop_update_decode(struct stream *s, struct prefix *match,
STREAM_GETW(s, nhr->nexthop_num);

for (i = 0; i < nhr->nexthop_num; i++) {
if (zapi_nexthop_decode(s, &(nhr->nexthops[i]), 0, 0) != 0)
if (zapi_nexthop_decode(s, &(nhr->nexthops[i]), 0, nhr->message) != 0)
return false;
}

Expand Down

0 comments on commit cf3dbe6

Please sign in to comment.