This commit is contained in:
guoguojia2021 2025-04-29 16:20:41 +00:00 committed by GitHub
commit 6be0362136
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}