#include <vnet/mfib/mfib_itf.h>
#include <vnet/mfib/mfib_signal.h>
#include <vnet/fib/fib_path.h>
+#include <vnet/ethernet/mac_address.h>
mfib_itf_t *mfib_itf_pool;
* show all
*/
vlib_cli_output (vm, "mFIB interfaces::");
- pool_foreach_index(mfii, mfib_itf_pool,
- ({
+ pool_foreach_index (mfii, mfib_itf_pool)
+ {
vlib_cli_output (vm, "%d@%U",
mfii,
format_mfib_itf, mfii);
- }));
+ }
}
return (NULL);
}
/*?
- * This commnad displays an MFIB interface, or all interfaces, indexed by their unique
- * numerical indentifier.
+ * This command displays an MFIB interface, or all interfaces, indexed by their
+ * unique numerical identifier.
?*/
VLIB_CLI_COMMAND (show_mfib_itf, static) = {
.path = "show mfib interface",