summaryrefslogtreecommitdiffstats
path: root/vpp/app/vpe_cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'vpp/app/vpe_cli.c')
-rw-r--r--vpp/app/vpe_cli.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vpp/app/vpe_cli.c b/vpp/app/vpe_cli.c
index 3b24c26f3e6..38bf843dd32 100644
--- a/vpp/app/vpe_cli.c
+++ b/vpp/app/vpe_cli.c
@@ -72,8 +72,7 @@ virtual_ip_cmd_fn_command_fn (vlib_main_t * vm,
format_unformat_error, input);
}
}
- if (vec_len (mac_addrs) == 0 ||
- vec_len (next_hops) == 0 || vec_len (mac_addrs) != vec_len (next_hops))
+ if (vec_len (mac_addrs) == 0 || vec_len (mac_addrs) != vec_len (next_hops))
goto barf;
/* Create / delete special interface route /32's */