summaryrefslogtreecommitdiffstats
path: root/vpp-api-test/vat/api_format.c
diff options
context:
space:
mode:
authorJuraj Sloboda <jsloboda@cisco.com>2016-09-06 04:43:52 -0700
committerJuraj Sloboda <jsloboda@cisco.com>2016-09-07 00:06:01 -0700
commit24648ad088c4feea39f8e9fda82c35d207af45e0 (patch)
treea0a419a50959d81779edcb7849f34eb6d096a43d /vpp-api-test/vat/api_format.c
parent7a35ee91a40e512b353f8f41f7a2d5fe32a29eca (diff)
Fix bugs in IPFIX code discovered by coverity
Change-Id: Ibe6ccb99c3c29c14efb34191f209a2f6a14293f7 Signed-off-by: Juraj Sloboda <jsloboda@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 128ba40aa96..0df2051e6c7 100644
--- a/vpp-api-test/vat/api_format.c
+++ b/vpp-api-test/vat/api_format.c
@@ -8733,7 +8733,7 @@ api_ipfix_classify_table_add_del (vat_main_t * vam)
unformat_input_t *i = vam->input;
vl_api_ipfix_classify_table_add_del_t *mp;
int is_add = -1;
- u32 classify_table_index;
+ u32 classify_table_index = ~0;
u8 ip_version = 0;
u8 transport_protocol = 255;
f64 timeout;