src/liboping.c: Do not reset recv_ttl in ping_receive_one().
authorSebastian Harl <sh@tokkee.org>
Fri, 17 Jul 2009 07:39:35 +0000 (09:39 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 17 Jul 2009 07:39:35 +0000 (09:39 +0200)
commit2af6e8235f7843a86f6ec519655617f8b114a935
treea8a20197a1007260654599f6f3e29238db275747
parent115b04b76bb1d127c1de9cdacce717cfc0528b16
src/liboping.c: Do not reset recv_ttl in ping_receive_one().

Instead, reset the value of all host object in ping_receive_all().

ping_receive_one() does not necessarily get a pointer to the host object for
which we receive a reply, since ICMP messages may be received on _any_ raw
socket.
src/liboping.c