summaryrefslogtreecommitdiffstats
path: root/lib/zclient.c
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2016-09-16 21:55:37 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-23 18:12:43 +0200
commit0fc452dc57467bd1ab1dabe119be979d996af3f9 (patch)
tree2c19dc4152b9e7e7238002e6ad488a8074233b1e /lib/zclient.c
parentlib: Check prefix length from zebra is sensible (diff)
downloadfrr-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.c6
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);