diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 04ec3adacc..f7290caea9 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -1635,8 +1635,10 @@ rib_process (struct route_node *rn) 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) @@ -1718,6 +1720,9 @@ rib_process (struct route_node *rn) continue; } + if (info->safi == SAFI_MULTICAST) + continue; + /* Infinite distance. */ if (rib->distance == DISTANCE_INFINITY) {