Merge pull request #5091 from sworleys/Fix-Vrf_ID-Decode_7.2

[7.2] lib: Decode vrf_id update appropriately from zapi
This commit is contained in:
Donatas Abraitis 2019-10-02 17:11:46 +03:00 committed by GitHub
commit 1af14f412e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1944,7 +1944,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;