aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp/api/api_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp/api/api_main.c')
-rw-r--r--src/vpp/api/api_main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vpp/api/api_main.c b/src/vpp/api/api_main.c
index db532061..fd6998f4 100644
--- a/src/vpp/api/api_main.c
+++ b/src/vpp/api/api_main.c
@@ -139,11 +139,11 @@ api_command_fn (vlib_main_t * vm,
"%s error: %U\n", cmdp,
format_api_error, vam, rv);
- if (vam->regenerate_interface_table)
- {
- vam->regenerate_interface_table = 0;
- api_sw_interface_dump (vam);
- }
+ }
+ if (vam->regenerate_interface_table)
+ {
+ vam->regenerate_interface_table = 0;
+ api_sw_interface_dump (vam);
}
unformat_free (vam->input);
return 0;