summaryrefslogtreecommitdiff
path: root/lib/zclient.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@openbsd.org>2018-03-06 13:48:40 -0300
committerGitHub <noreply@github.com>2018-03-06 13:48:40 -0300
commitdefd0965f4a85a392e29032f712617e3c617596d (patch)
treea796e560e2a2d4ecc00ecc25b77469b07f2632ef /lib/zclient.c
parentce08776d95b8192d85df0fdec617138af00f6bcd (diff)
parent05dd5aaf021e2e483ba44872cae4446b0073c1de (diff)
Merge pull request #1811 from donaldsharp/nht_send_type
lib, zebra: Add type and instance to nexthop update message
Diffstat (limited to 'lib/zclient.c')
-rw-r--r--lib/zclient.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/zclient.c b/lib/zclient.c
index 01d8838e1f..8535c3b5f5 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -1266,6 +1266,8 @@ bool zapi_nexthop_update_decode(struct stream *s, struct zapi_route *nhr)
break;
}
+ STREAM_GETC(s, nhr->type);
+ STREAM_GETW(s, nhr->instance);
STREAM_GETC(s, nhr->distance);
STREAM_GETL(s, nhr->metric);
STREAM_GETC(s, nhr->nexthop_num);