From d1762e614d1e05cbeda4d91e921fa663b2b46c03 Mon Sep 17 00:00:00 2001 From: Filip Varga Date: Wed, 23 Sep 2020 13:47:50 +0200 Subject: nat: det44 plugin fix style and api cleanup Type: refactor Change-Id: I3c5ca31de8046b82fb3d3f364ba88370fe51ef02 Signed-off-by: Filip Varga --- src/plugins/nat/det44/det44_cli.c | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) (limited to 'src/plugins/nat/det44/det44_cli.c') diff --git a/src/plugins/nat/det44/det44_cli.c b/src/plugins/nat/det44/det44_cli.c index 7085eba06ef..933784f17c6 100644 --- a/src/plugins/nat/det44/det44_cli.c +++ b/src/plugins/nat/det44/det44_cli.c @@ -611,7 +611,6 @@ VLIB_CLI_COMMAND (det44_close_session_in_command, static) = { ": :", .function = det44_close_session_in_fn, }; -/* *INDENT-ON* */ /*? * @cliexpar @@ -624,10 +623,11 @@ VLIB_CLI_COMMAND (det44_close_session_in_command, static) = { ?*/ VLIB_CLI_COMMAND (det44_set_timeouts_command, static) = { -.path = "set det44 timeouts",.short_help = - "set det44 timeouts <[udp ] [tcp established ] " - "[tcp transitory ] [icmp ]|reset>",.function = - det44_set_timeouts_command_fn,}; + .path = "set det44 timeouts", + .short_help = "set det44 timeouts <[udp ] [tcp established ] " + "[tcp transitory ] [icmp ]|reset>", + .function = det44_set_timeouts_command_fn, +}; /*? * @cliexpar @@ -642,8 +642,10 @@ VLIB_CLI_COMMAND (det44_set_timeouts_command, static) = ?*/ VLIB_CLI_COMMAND (det44_show_timeouts_command, static) = { -.path = "show det44 timeouts",.short_help = - "show det44 timeouts",.function = det44_show_timeouts_command_fn,}; + .path = "show det44 timeouts", + .short_help = "show det44 timeouts", + .function = det44_show_timeouts_command_fn, +}; /*? * @cliexpar @@ -653,9 +655,10 @@ VLIB_CLI_COMMAND (det44_show_timeouts_command, static) = ?*/ VLIB_CLI_COMMAND (det44_plugin_enable_disable_command, static) = { -.path = "det44 plugin",.short_help = - "det44 plugin ",.function = - det44_plugin_enable_disable_command_fn,}; + .path = "det44 plugin", + .short_help = "det44 plugin ", + .function = det44_plugin_enable_disable_command_fn, +}; /*? * @cliexpar @@ -669,9 +672,10 @@ VLIB_CLI_COMMAND (det44_plugin_enable_disable_command, static) = ?*/ VLIB_CLI_COMMAND (det44_feature_command, static) = { -.path = "set interface det44",.short_help = - "set interface det44 inside outside [del]",.function = - det44_feature_command_fn,}; + .path = "set interface det44", + .short_help = "set interface det44 inside outside [del]", + .function = det44_feature_command_fn, +}; /*? * @cliexpar @@ -685,8 +689,11 @@ VLIB_CLI_COMMAND (det44_feature_command, static) = ?*/ VLIB_CLI_COMMAND (det44_show_interfaces_command, static) = { -.path = "show det44 interfaces",.short_help = - "show det44 interfaces",.function = det44_show_interfaces_command_fn,}; + .path = "show det44 interfaces", + .short_help = "show det44 interfaces", + .function = det44_show_interfaces_command_fn, +}; +/* *INDENT-ON* */ /* * fd.io coding-style-patch-verification: ON -- cgit 1.2.3-korg