From: Donald Sharp Date: Wed, 28 Feb 2018 23:53:44 +0000 (-0500) Subject: lib: Use STREAM_GET X-Git-Tag: frr-5.0-dev~194^2~3 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=4ca997a8f82e442ef3e28a8ae14c0b914adc5e4a;p=mirror%2Ffrr.git lib: Use STREAM_GET The addition of some rmac code snuck in the usage of a stream_get instead of a STREAM_GET() We need to be using STREAM_GET() Signed-off-by: Donald Sharp --- 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);