[quagga-dev 11594] Re: [PATCH 1/2] MBGP routes should not be installed in the kernel
balajig81 at gmail.com
Mon Oct 20 19:44:28 BST 2014
On Mon, Oct 20, 2014 at 11:08 PM, Paul Jakma <paul at jakma.org> wrote:
> On Mon, 20 Oct 2014, Balaji G wrote:
> The reason why i cannot check for that is because we add the routes in
>> RIB and then when the workqueue kicks in, it goes through the nodes and
>> calls rib_process() which pushes the entries down to the kernel. At this
>> level we wouldn't have the information whether its SAFI_Multicast or not. I
>> didnt want to break the existing interface so i made this change.
> Are you sure? rib_process has the (struct route_node *)rn which has a
> pointer to the (struct route_table *) and that has an info field which is a
> (rib_table_info_t *), which has the afi/safi info.
Thanks a lot for the information I would build a patch with that and send
> Would that work?
> Paul Jakma paul at jakma.org @pjakma Key ID: 64A2FF6A
> When a fellow says, "It ain't the money but the principle of the thing,"
> it's the money.
> -- Kim Hubbard
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Quagga-dev