int i;
for (i = L2OUTPUT_N_FEAT - 1; i >= 0; i--)
if (feature_bitmap & (1 << i))
- s = format (s, "%10s (%s)\n", display_names[i], l2output_feat_names[i]);
+ s = format (s, "%17s (%s)\n", display_names[i], l2output_feat_names[i]);
return s;
}
* this sw_if_index, l2-output will send packets for this sw_if_index to the
* l2-output-bad-intf node which just setup the proper drop reason before
* sending packets to the error-drop node to drop the packet. Then, stale L2FIB
- * entries for delted tunnels won't cause possible packet or memory corrpution.
+ * entries for deleted tunnels won't cause possible packet or memory corruption.
*/
VLIB_NODE_FN (l2output_bad_intf_node) (vlib_main_t * vm,
/** Enable (or disable) the feature in the bitmap for the given interface. */
void
-l2output_intf_bitmap_enable (u32 sw_if_index, u32 feature_bitmap, u32 enable)
+l2output_intf_bitmap_enable (u32 sw_if_index,
+ l2output_feat_masks_t feature_bitmap, u32 enable)
{
l2output_main_t *mp = &l2output_main;
l2_output_config_t *config;