diff options
author | Christian Franke <nobody@nowhere.ws> | 2016-09-16 21:55:37 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-23 18:12:43 +0200 |
commit | 0fc452dc57467bd1ab1dabe119be979d996af3f9 (patch) | |
tree | 2c19dc4152b9e7e7238002e6ad488a8074233b1e /lib/zclient.c | |
parent | lib: Check prefix length from zebra is sensible (diff) | |
download | frr-0fc452dc57467bd1ab1dabe119be979d996af3f9.tar.xz frr-0fc452dc57467bd1ab1dabe119be979d996af3f9.zip |
Make route flags a 32bit field
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'lib/zclient.c')
-rw-r--r-- | lib/zclient.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/zclient.c b/lib/zclient.c index 6ccc6e371..a02cbbe4d 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -733,7 +733,7 @@ zapi_ipv4_route (u_char cmd, struct zclient *zclient, struct prefix_ipv4 *p, /* Put type and nexthop. */ stream_putc (s, api->type); stream_putw (s, api->instance); - stream_putc (s, api->flags); + stream_putl (s, api->flags); stream_putc (s, api->message); stream_putw (s, api->safi); @@ -801,7 +801,7 @@ zapi_ipv4_route_ipv6_nexthop (u_char cmd, struct zclient *zclient, /* Put type and nexthop. */ stream_putc (s, api->type); stream_putw (s, api->instance); - stream_putc (s, api->flags); + stream_putl (s, api->flags); stream_putc (s, api->message); stream_putw (s, api->safi); @@ -867,7 +867,7 @@ zapi_ipv6_route (u_char cmd, struct zclient *zclient, struct prefix_ipv6 *p, /* Put type and nexthop. */ stream_putc (s, api->type); stream_putw (s, api->instance); - stream_putc (s, api->flags); + stream_putl (s, api->flags); stream_putc (s, api->message); stream_putw (s, api->safi); |