]> git.proxmox.com Git - mirror_frr.git/commitdiff
Merge pull request #5092 from sworleys/Fix-Vrf_ID-Decode_7.1
authorRuss White <russ@riw.us>
Wed, 2 Oct 2019 14:23:28 +0000 (10:23 -0400)
committerGitHub <noreply@github.com>
Wed, 2 Oct 2019 14:23:28 +0000 (10:23 -0400)
[7.1] lib: Decode vrf_id update appropriately from zapi

lib/zclient.c

index 96a78efad6d5abe125493d77e3337dba8c610c5e..9affe4306dc4581eab2f7238cd55c12897dd0f74 100644 (file)
@@ -1829,7 +1829,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;