summaryrefslogtreecommitdiff
path: root/lib/zclient.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@openbsd.org>2018-03-05 19:33:05 -0300
committerGitHub <noreply@github.com>2018-03-05 19:33:05 -0300
commit41d19ab553a1c0a9c7c3c32b3e98f185e976f65e (patch)
tree4e9bede6453d999a23c8515e10ef3beab12d0b94 /lib/zclient.c
parent6d9f7064c5fac203cf63696dbae96ae596fe06fb (diff)
parentf56ee10fc7a4c028e767161c2503d26cceed194b (diff)
Merge pull request #1809 from donaldsharp/intf_json
vrf nexthop cleanups
Diffstat (limited to 'lib/zclient.c')
-rw-r--r--lib/zclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zclient.c b/lib/zclient.c
index ad91eb504b..01d8838e1f 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -1085,7 +1085,7 @@ int zapi_route_decode(struct stream *s, struct zapi_route *api)
STREAM_GETC(s, api->message);
STREAM_GETC(s, api->safi);
if (CHECK_FLAG(api->flags, ZEBRA_FLAG_EVPN_ROUTE))
- stream_get(&(api->rmac), s, sizeof(struct ethaddr));
+ STREAM_GET(&(api->rmac), s, sizeof(struct ethaddr));
/* Prefix. */
STREAM_GETC(s, api->prefix.family);