[quagga-dev 11639] [PATCH] zebra: Connected routes deletion from MRIB removed.

Balaji.G balajig81 at gmail.com
Thu Oct 23 17:38:38 BST 2014


Connected route deletion from MRIB is not required as the connectedroutes would not
get added.

Signed-off-by: Balaji.G <balajig81 at gmail.com>
---
 zebra/connected.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/zebra/connected.c b/zebra/connected.c
index ef745a8..72dd5fc 100644
--- a/zebra/connected.c
+++ b/zebra/connected.c
@@ -303,8 +303,6 @@ connected_down_ipv4 (struct interface *ifp, struct connected *ifc)
   /* 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, SAFI_UNICAST);
 
-  rib_delete_ipv4 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, ifp->ifindex, 0, SAFI_MULTICAST);
-
   rib_update ();
 }
 
-- 
1.9.1





More information about the Quagga-dev mailing list