aboutsummaryrefslogtreecommitdiffstats
path: root/vlib
diff options
context:
space:
mode:
Diffstat (limited to 'vlib')
-rw-r--r--vlib/vlib/cli.c2
-rw-r--r--vlib/vlib/cli.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/vlib/vlib/cli.c b/vlib/vlib/cli.c
index 5a0867bd0f8..60f41db1794 100644
--- a/vlib/vlib/cli.c
+++ b/vlib/vlib/cli.c
@@ -133,7 +133,7 @@ vlib_cli_sub_command_match (vlib_cli_command_t * c, unformat_input_t * input)
}
/* Looks for string based sub-input formatted { SUB-INPUT }. */
-static uword unformat_vlib_cli_sub_input (unformat_input_t * i, va_list * args)
+uword unformat_vlib_cli_sub_input (unformat_input_t * i, va_list * args)
{
unformat_input_t * sub_input = va_arg (*args, unformat_input_t *);
u8 * s;
diff --git a/vlib/vlib/cli.h b/vlib/vlib/cli.h
index 22aa22e6342..a9e08ba1f6e 100644
--- a/vlib/vlib/cli.h
+++ b/vlib/vlib/cli.h
@@ -178,4 +178,6 @@ clib_error_t * vlib_cli_register (struct vlib_main_t * vm,
clib_error_t * vlib_cli_register_parse_rule (struct vlib_main_t * vm,
vlib_cli_parse_rule_t * c);
+uword unformat_vlib_cli_sub_input (unformat_input_t * i, va_list * args);
+
#endif /* included_vlib_cli_h */