author | Sebastian Harl <sh@tokkee.org> | |
Fri, 17 Jul 2009 07:39:35 +0000 (09:39 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 17 Jul 2009 07:39:35 +0000 (09:39 +0200) | ||
commit | 2af6e8235f7843a86f6ec519655617f8b114a935 | |
tree | a8a20197a1007260654599f6f3e29238db275747 | tree | snapshot |
parent | 115b04b76bb1d127c1de9cdacce717cfc0528b16 | commit | diff |
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.
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 | diff | blob | history |