Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Quagga: Dev

[PATCH 2/2] zebra: Connected route deletion from MRIB

 

 

Quagga dev RSS feed   Index | Next | Previous | View Threaded


balajig81 at gmail

Apr 2, 2012, 11:01 AM

Post #1 of 2 (183 views)
Permalink
[PATCH 2/2] zebra: Connected route deletion from MRIB

From: "G.Balaji" <balajig81 [at] gmail>

Signed-off-by: G.Balaji <balajig81 [at] gmail>
---
zebra/connected.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/zebra/connected.c b/zebra/connected.c
index 427e2f7..05538c5 100644
--- a/zebra/connected.c
+++ b/zebra/connected.c
@@ -300,6 +300,8 @@ 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.7.5.4

_______________________________________________
Quagga-dev mailing list
Quagga-dev [at] lists
http://lists.quagga.net/mailman/listinfo/quagga-dev


equinox at diac24

May 2, 2012, 8:17 AM

Post #2 of 2 (125 views)
Permalink
Re: [PATCH 2/2] zebra: Connected route deletion from MRIB [In reply to]

On Mon, Apr 02, 2012 at 11:31:30PM +0530, G.Balaji wrote:
> + rib_delete_ipv4 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, ifp->ifindex, 0, SAFI_MULTICAST);
> +

Merged both patches into one and applied, thanks!

(Applying the patches separately doesn't make sense, if one is there
without the other there will be a leak or a nonmatching delete)
Attachments: signature.asc (0.22 KB)

Quagga dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.