if (0 !=
(rv =
ip6_ioam_set_rewrite (&hm->rewrite, hm->has_trace_option,
- hm->has_pot_option, hm->has_ppc_option)))
+ hm->has_pot_option, hm->has_seqno_option)))
return (-1);
return 0;
if (0 !=
(rv =
ip6_ioam_set_rewrite (&hm->rewrite, hm->has_trace_option,
- hm->has_pot_option, hm->has_ppc_option)))
+ hm->has_pot_option,
+ hm->has_seqno_option)))
return (-1);
}
else if (unformat (input, "node-id 0x%x", &node_id));
else if (unformat (input, "app-data 0x%x", &app_data));
else
- return clib_error_return (0, "unknown input `%U'",
- format_unformat_error, input);
+ break;
}
profile = trace_profile_find ();
if (profile)
}
/* *INDENT-OFF* */
-VLIB_CLI_COMMAND (set_trace_profile_command) =
+VLIB_CLI_COMMAND (set_trace_profile_command, static) =
{
-.path = "set ioam-trace profile",.short_help = "set ioam-trace \
- trace-type <0x1f|0x3|0x9|0x11|0x19> trace-elts <nn> trace-tsp <0|1|2|3> node-id <node id in hex> app-data <app_data in hex>",.function = set_trace_profile_command_fn,};
-
+.path = "set ioam-trace profile",
+.short_help = "set ioam-trace \
+ trace-type <0x1f|0x3|0x9|0x11|0x19> trace-elts <nn> trace-tsp <0|1|2|3> \
+ node-id <node id in hex> app-data <app_data in hex>",
+.function = set_trace_profile_command_fn,
+};
/* *INDENT-ON* */
static clib_error_t *
}
/* *INDENT-OFF* */
-VLIB_CLI_COMMAND (show_trace_profile_command) =
+VLIB_CLI_COMMAND (show_trace_profile_command, static) =
{
-.path = "show ioam-trace profile",.short_help =
- "show ioam-trace profile",.function = show_trace_profile_command_fn,};
+.path = "show ioam-trace profile",
+.short_help = "show ioam-trace profile",
+.function = show_trace_profile_command_fn,
+};
/* *INDENT-ON* */
/*