Merge pull request #5090 from sworleys/Fix-Vrf_ID-Decode

lib: Decode vrf_id update appropriately from zapi
This commit is contained in:
Sri Mohana Singamsetty 2019-10-01 19:22:53 -07:00 committed by GitHub
commit f3762d2dd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1988,7 +1988,7 @@ struct interface *zebra_interface_vrf_update_read(struct stream *s,
} }
/* Fetch new VRF Id. */ /* Fetch new VRF Id. */
new_id = stream_getw(s); new_id = stream_getl(s);
*new_vrf_id = new_id; *new_vrf_id = new_id;
return ifp; return ifp;