mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
lib:fix get srte color failed
Signed-off-by: guozhongfeng.gzf <guozhongfeng.gzf@alibaba-inc.com>
This commit is contained in:
parent
1dcb4bb2d3
commit
cf3dbe6e55
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue