mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
Merge cf3dbe6e55
into 3dd4d417be
This commit is contained in:
commit
6be0362136
|
@ -2524,7 +2524,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