summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/zclient.c1
-rw-r--r--lib/zclient.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/zclient.c b/lib/zclient.c
index 12d113e7..0c3461e7 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -476,6 +476,7 @@ zapi_ipv4_route (u_char cmd, struct zclient *zclient, struct prefix_ipv4 *p,
stream_putc (s, api->type);
stream_putc (s, api->flags);
stream_putc (s, api->message);
+ stream_putw (s, api->safi);
/* Put prefix information. */
psize = PSIZE (p->prefixlen);
diff --git a/lib/zclient.h b/lib/zclient.h
index 5c3db382..8b3e71af 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -108,6 +108,8 @@ struct zapi_ipv4
u_char message;
+ safi_t safi;
+
u_char nexthop_num;
struct in_addr **nexthop;