summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2017-03-24 17:46:42 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-03-30 11:56:32 +0000
commite3d52803149d58737aad38435361e692d70c9d7a (patch)
tree73ae4ec60f818e68e9ded2cfe334ab14fc3e9746 /src/vnet
parent654ceaff759b89c00d242b7d494abaeeea356f32 (diff)
VPP-669: ping: fix coverity check error 165075 + add ping testcase
Fix the bug and add the unit test to start with ping test coverage Change-Id: Ibeacbed1f1660e677faa2dbb2ebe386216693e96 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/ip/ping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip/ping.c b/src/vnet/ip/ping.c
index 4131bd710a3..4a7fdd6cba6 100644
--- a/src/vnet/ip/ping.c
+++ b/src/vnet/ip/ping.c
@@ -835,7 +835,7 @@ ping_ip_address (vlib_main_t * vm,
run_ping_ip46_address (vm, table_id, ping_ip4 ? &a4 : NULL,
ping_ip6 ? &a6 : NULL, sw_if_index, ping_interval,
- ping_repeat, ping_burst, data_len, verbose);
+ ping_repeat, data_len, ping_burst, verbose);
done:
return error;
}