diff options
author | Denis Vlasenko | 2007-02-04 02:39:08 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-02-04 02:39:08 +0000 |
commit | 42823d597a9029ac497edda9102f61283630635b (patch) | |
tree | 848e71f864ad0675e19c8dcdce94c11a5dcc3d7a /networking/ping.c | |
parent | 45854b5e3ff265c23dc36c139f09ea8eb3790ad1 (diff) | |
download | busybox-42823d597a9029ac497edda9102f61283630635b.zip busybox-42823d597a9029ac497edda9102f61283630635b.tar.gz |
add x to IPv6 functions which can die
Diffstat (limited to 'networking/ping.c')
-rw-r--r-- | networking/ping.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/ping.c b/networking/ping.c index d0e6f3a..e765843 100644 --- a/networking/ping.c +++ b/networking/ping.c @@ -211,9 +211,9 @@ int ping_main(int argc, char **argv) bb_show_usage(); #if ENABLE_PING6 - lsa = host_and_af2sockaddr(hostname, 0, af); + lsa = xhost_and_af2sockaddr(hostname, 0, af); #else - lsa = host_and_af2sockaddr(hostname, 0, AF_INET); + lsa = xhost_and_af2sockaddr(hostname, 0, AF_INET); #endif /* Set timer _after_ DNS resolution */ signal(SIGALRM, noresp); @@ -743,9 +743,9 @@ int ping_main(int argc, char **argv) af = AF_INET; if (option_mask32 & OPT_IPV6) af = AF_INET6; - lsa = host_and_af2sockaddr(hostname, 0, af); + lsa = xhost_and_af2sockaddr(hostname, 0, af); #else - lsa = host_and_af2sockaddr(hostname, 0, AF_INET); + lsa = xhost_and_af2sockaddr(hostname, 0, AF_INET); #endif dotted = xmalloc_sockaddr2dotted_noport(&lsa->sa, lsa->len); #if ENABLE_PING6 |