aboutsummaryrefslogtreecommitdiffstats
path: root/vpp-api-test/vat/api_format.c
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2016-08-25 00:24:08 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2016-08-25 12:58:57 +0000
commit07e7eab371951c41b413a689779258a619565a13 (patch)
treeb6fa7c3bd6267034395b956eebd3a4eccba5e45b /vpp-api-test/vat/api_format.c
parent50a4e1429477e41848b1cdb632aab20cb8154386 (diff)
VPP-228 VPP-326: MAP: Adding additional API/CLI input parameter checks.
Added checks for EA bits length + PSID length > 64. Removed incorrect check in VAT that required all arguments as mandatory. Change-Id: I33a138612d199d7c5ce59abe1a7d7ecede3522bc Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'vpp-api-test/vat/api_format.c')
-rw-r--r--vpp-api-test/vat/api_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpp-api-test/vat/api_format.c b/vpp-api-test/vat/api_format.c
index 7f0f9fa7..7dcd0597 100644
--- a/vpp-api-test/vat/api_format.c
+++ b/vpp-api-test/vat/api_format.c
@@ -11224,7 +11224,7 @@ api_map_add_domain (vat_main_t * vam)
}
}
- if (num_m_args != 6)
+ if (num_m_args < 3)
{
errmsg ("mandatory argument(s) missing\n");
return -99;