summaryrefslogtreecommitdiff
path: root/lib/zclient.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@openbsd.org>2018-11-03 15:15:25 -0300
committerGitHub <noreply@github.com>2018-11-03 15:15:25 -0300
commitfb52f65126f6f5a053ac86e8ca871db02e70ab6d (patch)
tree8607532fc8861413d9ea72fde1060f7cda696ca0 /lib/zclient.c
parentf0c709237058897b2d3a87c8ee47971c9794c9e0 (diff)
parenta756969dc61880d781060a9387c7bdf6da02a238 (diff)
Merge pull request #3271 from donaldsharp/nh_encode_better
lib, zebra: Encode nexthop vrf in nht updates
Diffstat (limited to 'lib/zclient.c')
-rw-r--r--lib/zclient.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zclient.c b/lib/zclient.c
index 08831ace6a..45a9f7be9e 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -1217,6 +1217,7 @@ bool zapi_nexthop_update_decode(struct stream *s, struct zapi_route *nhr)
STREAM_GETC(s, nhr->nexthop_num);
for (i = 0; i < nhr->nexthop_num; i++) {
+ STREAM_GETL(s, nhr->nexthops[i].vrf_id);
STREAM_GETC(s, nhr->nexthops[i].type);
switch (nhr->nexthops[i].type) {
case NEXTHOP_TYPE_IPV4: