diff options
author | Damjan Marion <damarion@cisco.com> | 2024-03-12 17:42:49 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-03-12 19:29:56 +0000 |
commit | c3148b1be8f519c80c4417c21b978dfef72b351b (patch) | |
tree | 2511eb86e5c429ab018716fed0366164e6faf679 /src/plugins/l3xc/l3xc.c | |
parent | e2ed59933153d665ee43add2de03a581627b73fa (diff) |
misc: remove GNU Indent directives
Type: refactor
Change-Id: I5235bf3e9aff58af6ba2c14e8c6529c4fc9ec86c
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/l3xc/l3xc.c')
-rw-r--r-- | src/plugins/l3xc/l3xc.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/l3xc/l3xc.c b/src/plugins/l3xc/l3xc.c index 0f7324c277d..427c38e9ab5 100644 --- a/src/plugins/l3xc/l3xc.c +++ b/src/plugins/l3xc/l3xc.c @@ -264,7 +264,6 @@ out: return (NULL); } -/* *INDENT-OFF* */ /** * Create an L3XC policy. */ @@ -274,7 +273,6 @@ VLIB_CLI_COMMAND (l3xc_cmd_node, static) = { .short_help = "l3xc [add|del] <INTERFACE> via ...", .is_mp_safe = 1, }; -/* *INDENT-ON* */ static u8 * format_l3xc (u8 * s, va_list * args) @@ -305,13 +303,11 @@ l3xc_walk (l3xc_walk_cb_t cb, void *ctx) { u32 l3xci; - /* *INDENT-OFF* */ pool_foreach_index (l3xci, l3xc_pool) { if (!cb(l3xci, ctx)) break; } - /* *INDENT-ON* */ } static clib_error_t * @@ -320,24 +316,20 @@ l3xc_show_cmd (vlib_main_t * vm, { l3xc_t *l3xc; - /* *INDENT-OFF* */ pool_foreach (l3xc, l3xc_pool) { vlib_cli_output(vm, "%U", format_l3xc, l3xc); } - /* *INDENT-ON* */ return (NULL); } -/* *INDENT-OFF* */ VLIB_CLI_COMMAND (l3xc_show_cmd_node, static) = { .path = "show l3xc", .function = l3xc_show_cmd, .short_help = "show l3xc", .is_mp_safe = 1, }; -/* *INDENT-ON* */ static fib_node_t * l3xc_get_node (fib_node_index_t index) |