aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/nat/det44/det44.api1
-rw-r--r--src/plugins/nat/det44/det44.h2
-rw-r--r--src/plugins/nat/det44/det44_cli.c37
3 files changed, 22 insertions, 18 deletions
diff --git a/src/plugins/nat/det44/det44.api b/src/plugins/nat/det44/det44.api
index f9c38007288..9b71b9c8c6d 100644
--- a/src/plugins/nat/det44/det44.api
+++ b/src/plugins/nat/det44/det44.api
@@ -39,7 +39,6 @@ autoreply define det44_plugin_enable_disable {
u32 inside_vrf;
u32 outside_vrf;
bool enable;
- vl_api_interface_index_t sw_if_index;
option status="in_progress";
};
diff --git a/src/plugins/nat/det44/det44.h b/src/plugins/nat/det44/det44.h
index 3ddba6d1405..3db6081788a 100644
--- a/src/plugins/nat/det44/det44.h
+++ b/src/plugins/nat/det44/det44.h
@@ -146,10 +146,8 @@ typedef struct
typedef struct
{
-
u32 outside_vrf_id;
u32 inside_vrf_id;
-
} det44_config_t;
typedef struct
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) = {
"<in_addr>:<in_port> <ext_addr>:<ext_port>",
.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 <sec>] [tcp established <sec>] "
- "[tcp transitory <sec>] [icmp <sec>]|reset>",.function =
- det44_set_timeouts_command_fn,};
+ .path = "set det44 timeouts",
+ .short_help = "set det44 timeouts <[udp <sec>] [tcp established <sec>] "
+ "[tcp transitory <sec>] [icmp <sec>]|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 <enable [inside vrf] [outside vrf]|disable>",.function =
- det44_plugin_enable_disable_command_fn,};
+ .path = "det44 plugin",
+ .short_help = "det44 plugin <enable [inside vrf] [outside vrf]|disable>",
+ .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 <intfc> outside <intfc> [del]",.function =
- det44_feature_command_fn,};
+ .path = "set interface det44",
+ .short_help = "set interface det44 inside <intfc> outside <intfc> [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