summaryrefslogtreecommitdiff
path: root/networking/ping6.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-26 17:17:59 +0000
committerDenis Vlasenko2006-10-26 17:17:59 +0000
commitebe578ab2fc19e9ce0d876a10fc389b018a30eba (patch)
tree73c94891fb79c1da22c2397e4b80e90f617f573b /networking/ping6.c
parent68f21872652975e4541cec841c581d4c594273c5 (diff)
downloadbusybox-ebe578ab2fc19e9ce0d876a10fc389b018a30eba.zip
busybox-ebe578ab2fc19e9ce0d876a10fc389b018a30eba.tar.gz
nslookup: make it more IPv6 friendly
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 a064f2f..af9c00e 100644
--- a/networking/ping6.c
+++ b/networking/ping6.c
@@ -329,7 +329,7 @@ static void ping(const char *host)
pingaddr.sin6_family = AF_INET6;
hostent = xgethostbyname2(host, AF_INET6);
if (hostent->h_addrtype != AF_INET6)
- bb_error_msg_and_die("unknown address type; only AF_INET6 is currently supported.");
+ bb_error_msg_and_die("unknown address type; only AF_INET6 is currently supported");
memcpy(&pingaddr.sin6_addr, hostent->h_addr, sizeof(pingaddr.sin6_addr));