diff options
Diffstat (limited to 'toys/pending/traceroute.c')
-rw-r--r-- | toys/pending/traceroute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/traceroute.c b/toys/pending/traceroute.c index 4a4f55d8..9a818eb4 100644 --- a/toys/pending/traceroute.c +++ b/toys/pending/traceroute.c @@ -242,7 +242,7 @@ static void do_trace() - (t1.tv_sec * USEC + t1.tv_usec); if (pfd[0].revents) { - unsigned addrlen = sizeof(struct sockaddr_storage); + socklen_t addrlen = sizeof(struct sockaddr_storage); int rcv_len, icmp_res = 0; rcv_len = recvfrom(TT.recv_sock, toybuf, sizeof(toybuf), |