[PING] Fix error handling and response address decoding (#318)
authorStanislav Motylkov <x86corez@gmail.com>
Fri, 26 Jan 2018 18:38:47 +0000 (21:38 +0300)
committerGed Murphy <gedmurphy@reactos.org>
Fri, 26 Jan 2018 18:38:47 +0000 (18:38 +0000)
commit906fdf9ccb075301a2ae85ab0979abf7a20bd2ab
tree5d107c554906c81f4181ad3c3d3b02de996d6f10
parent010c7bfc9bcf31dd232e8e779658562fb418cd8a
[PING] Fix error handling and response address decoding (#318)

- Host/net unreachable error should be obtained from EchoReply->Status
- Use GetNameInfoW to decode actual response addresses (borrowed from tracert code)

CORE-14241 #resolve
base/applications/network/ping/ping.c