VPP-669: ping: fix coverity check error 165075 + add ping testcase 56/5856/7
authorAndrew Yourtchenko <ayourtch@gmail.com>
Fri, 24 Mar 2017 16:46:42 +0000 (17:46 +0100)
committerDamjan Marion <dmarion.lists@gmail.com>
Thu, 30 Mar 2017 11:56:32 +0000 (11:56 +0000)
commite3d52803149d58737aad38435361e692d70c9d7a
tree73ae4ec60f818e68e9ded2cfe334ab14fc3e9746
parent654ceaff759b89c00d242b7d494abaeeea356f32
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>
src/vnet/ip/ping.c
test/test_ping.py [new file with mode: 0644]