From c7ec179a95c1ed4fcd3d3be3f981c8c20dce534a Mon Sep 17 00:00:00 2001 From: "G.Balaji" Date: Sat, 26 Nov 2011 22:04:05 +0400 Subject: bgpd: IPv6 MP-BGP Routes addition and deletion This patch contains the following: 1. Addition of IPv6 SAFI_MULTICAST BGP routes into the BGP Multicast RIB. 2. Deletion of IPv6 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 0c3461e7..3521d99e 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -538,6 +538,7 @@ zapi_ipv6_route (u_char cmd, struct zclient *zclient, struct prefix_ipv6 *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 8b3e71af..73389ecd 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -167,6 +167,8 @@ struct zapi_ipv6 u_char message; + safi_t safi; + u_char nexthop_num; struct in6_addr **nexthop; -- cgit v1.2.1