summaryrefslogtreecommitdiff
path: root/lib/zclient.c
diff options
context:
space:
mode:
authorG.Balaji <balajig81@gmail.com>2011-11-26 21:58:42 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2012-01-23 14:30:33 +0400
commit5a616c08ce089e25dc0e8da920727af4d11279bf (patch)
tree4b5650d6602d06d0188102469e3b402abe81f16a /lib/zclient.c
parent6ae93c058725991df5a9ae35cefec368919b5fea (diff)
bgpd: IPv4 MP-BGP Routes addition and deletion
This patch contains the following: 1. Addition of IPv4 SAFI_MULTICAST BGP routes into the BGP Multicast RIB. 2. Deletion of IPv4 SAFI_MULTICAST BGP routes from the BGP Multicast RIB.
Diffstat (limited to 'lib/zclient.c')
-rw-r--r--lib/zclient.c1
1 files changed, 1 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);