aboutsummaryrefslogtreecommitdiff
path: root/networking/ping6.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ping6.c')
-rw-r--r--networking/ping6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ping6.c b/networking/ping6.c
index a064f2f0b..af9c00e22 100644
--- a/networking/ping6.c
+++ b/networking/ping6.c
@@ -329,7 +329,7 @@ static void ping(const char *host)
329 pingaddr.sin6_family = AF_INET6; 329 pingaddr.sin6_family = AF_INET6;
330 hostent = xgethostbyname2(host, AF_INET6); 330 hostent = xgethostbyname2(host, AF_INET6);
331 if (hostent->h_addrtype != AF_INET6) 331 if (hostent->h_addrtype != AF_INET6)
332 bb_error_msg_and_die("unknown address type; only AF_INET6 is currently supported."); 332 bb_error_msg_and_die("unknown address type; only AF_INET6 is currently supported");
333 333
334 memcpy(&pingaddr.sin6_addr, hostent->h_addr, sizeof(pingaddr.sin6_addr)); 334 memcpy(&pingaddr.sin6_addr, hostent->h_addr, sizeof(pingaddr.sin6_addr));
335 335