mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 02:46:37 +00:00
lib: Decode vrf_id update appropriately from zapi
The vrf_id in `zsend_interface_vrf_update()` is encoded as a long via `stream_putl()`, we should decode it as such as well. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
This commit is contained in:
parent
ba0d195d59
commit
9594bc4053
@ -1944,7 +1944,7 @@ struct interface *zebra_interface_vrf_update_read(struct stream *s,
|
||||
}
|
||||
|
||||
/* Fetch new VRF Id. */
|
||||
new_id = stream_getw(s);
|
||||
new_id = stream_getl(s);
|
||||
|
||||
*new_vrf_id = new_id;
|
||||
return ifp;
|
||||
|
Loading…
Reference in New Issue
Block a user