ping: Fix coverity error 163907 70/5770/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 16 Mar 2017 12:24:24 +0000 (12:24 +0000)
committerOle Trøan <otroan@employees.org>
Thu, 16 Mar 2017 15:15:34 +0000 (15:15 +0000)
commit1b33fde6bdf54de22fb97f1b0a6730a40fd6560f
tree9e55c218317d1f9904fc4d64ce63d35f7c0c284e
parentb614d08368cc0b04e01c5222d4c11a88845394e5
ping: Fix coverity error 163907

Return an error if the ip6_interface_first_address decides to return NULL.

Change-Id: Iea0184382b8fbe2af81a781c3671687a1fbb5b32
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/vnet/ip/ping.c
src/vnet/ip/ping.h