MBGP routes are used only for PIM RPF checks and hence should
not be installed in the kernel's FIB. Ignore route node set to Multicast
SAFI.
Signed-off-by: Balaji.G <balajig81@gmail.com>
Acked-by: Everton Marques <everton.marques@gmail.com>
[pushed down rn->table->info assignment below assert]
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit
9511633e08ff15c23608983fdc1bc735d427332e)
Conflicts:
zebra/zebra_rib.c
rib_dest_t *dest;
struct zebra_vrf *zvrf = NULL;
vrf_id_t vrf_id = VRF_UNKNOWN;
+ rib_table_info_t *info;
assert (rn);
+ info = rn->table->info;
dest = rib_dest_from_rnode (rn);
if (dest)
continue;
}
+ if (info->safi == SAFI_MULTICAST)
+ continue;
+
/* Infinite distance. */
if (rib->distance == DISTANCE_INFINITY)
{