diff options
Diffstat (limited to 'networking/traceroute.c')
-rw-r--r-- | networking/traceroute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/traceroute.c b/networking/traceroute.c index 20f304d..0923d97 100644 --- a/networking/traceroute.c +++ b/networking/traceroute.c @@ -812,7 +812,7 @@ print_inetname(struct sockaddr_in *from) else { char *n = NULL; if (from->sin_addr.s_addr != INADDR_ANY) - n = xmalloc_sockaddr2host_noport((struct sockaddr*)from, sizeof(*from)); + n = xmalloc_sockaddr2host_noport((struct sockaddr*)from); printf(" %s (%s)", (n ? n : ina), ina); free(n); } |