diff options
author | G.Balaji <balajig81@gmail.com> | 2011-11-26 18:59:32 +0100 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2012-01-23 11:30:42 +0100 |
commit | cddf391bf6839e9f093cef15508669c1f3f92122 (patch) | |
tree | 38dfaa5a7b98776ba67bb8a812beec8724810839 /zebra/connected.c | |
parent | bgpd: IPv4 MP-BGP Routes addition and deletion (diff) | |
download | frr-cddf391bf6839e9f093cef15508669c1f3f92122.tar.xz frr-cddf391bf6839e9f093cef15508669c1f3f92122.zip |
zebra: IPv4 MP-BGP Routes addition and deletion
This patch contains the following:
1. Addition of IPv4 SAFI_MULTICAST BGP routes into the RTM's RIB.
2. Deletion of IPv4 SAFI_MULTICAST BGP routes from the RTM's RIB.
Diffstat (limited to 'zebra/connected.c')
-rw-r--r-- | zebra/connected.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/connected.c b/zebra/connected.c index 95399fa16..8db2d3679 100644 --- a/zebra/connected.c +++ b/zebra/connected.c @@ -189,7 +189,7 @@ connected_up_ipv4 (struct interface *ifp, struct connected *ifc) return; rib_add_ipv4 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, NULL, ifp->ifindex, - RT_TABLE_MAIN, ifp->metric, 0); + RT_TABLE_MAIN, ifp->metric, 0, SAFI_UNICAST); rib_update (); } @@ -295,7 +295,7 @@ connected_down_ipv4 (struct interface *ifp, struct connected *ifc) return; /* Same logic as for connected_up_ipv4(): push the changes into the head. */ - rib_delete_ipv4 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, ifp->ifindex, 0); + rib_delete_ipv4 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, ifp->ifindex, 0, SAFI_UNICAST); rib_update (); } |