*/
src->fes_pl = best_src->fes_pl;
}
+ else
+ {
+ /*
+ * the best source won't install so will use a drop
+ */
+ dpo_proto_t dproto;
+
+ dproto = fib_proto_to_dpo(fib_entry->fe_prefix.fp_proto);
+
+ src->fes_pl =
+ fib_path_list_create_special(dproto,
+ FIB_PATH_LIST_FLAG_DROP,
+ drop_dpo_get(dproto));
+ }
}
else
{
* there is another source for this entry. activate it so it
* can provide forwarding
*/
- FIB_ENTRY_SRC_VFT_INVOKE(best_src, fesv_deactivate,
+ FIB_ENTRY_SRC_VFT_INVOKE(fib_entry, best_src, fesv_deactivate,
(best_src, fib_entry));
}
}