From 5a616c08ce089e25dc0e8da920727af4d11279bf Mon Sep 17 00:00:00 2001 From: "G.Balaji" Date: Sat, 26 Nov 2011 21:58:42 +0400 Subject: 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. --- lib/zclient.c | 1 + lib/zclient.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'lib') 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; -- cgit v1.2.1