]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/zclient.c
Make route flags a 32bit field
[mirror_frr.git] / lib / zclient.c
index 5193a282a633e1700f79c9c456ed91a62446d808..c70ff90a119840fe85e703408f572df494d65930 100644 (file)
@@ -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);