&rpath.frp_sw_if_index))
{
rpath.frp_weight = 1;
- rpath.frp_proto = FIB_PROTOCOL_IP4;
+ }
+ else if (unformat (line_input, "via local"))
+ {
+ rpath.frp_sw_if_index = ~0;
+ rpath.frp_weight = 1;
+ rpath.frp_flags |= FIB_ROUTE_PATH_LOCAL;
}
else if (unformat (line_input, "%U", unformat_mfib_itf_flags, &iflags))
;
{
s = fib_path_list_format(msrc->mfes_pl, s);
}
- s = format (s, " Extensions:\n",
- mfib_source_names[msrc->mfes_src]);
+ s = format (s, " Extensions:\n");
hash_foreach(path_index, mpi, msrc->mfes_exts,
({
s = format(s, " %U\n", format_mfib_entry_path_ext, mpi);
}));
- s = format (s, " Interface-Forwarding:\n",
- mfib_source_names[msrc->mfes_src]);
+ s = format (s, " Interface-Forwarding:\n");
hash_foreach(sw_if_index, mfi, msrc->mfes_itfs,
({
s = format(s, " %U\n", format_mfib_itf, mfi);