[quagga-dev 11593] Re: [PATCH 1/2] MBGP routes should not be installed in the kernel
paul at jakma.org
Mon Oct 20 18:38:06 BST 2014
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.
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
More information about the Quagga-dev