summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenis Vlasenko2007-02-09 17:32:16 +0000
committerDenis Vlasenko2007-02-09 17:32:16 +0000
commit9ca26d38c513c918cf88db8fef057b7ae5c133f0 (patch)
tree59a8c81de0d3631aca6303adc506363e2807f270 /libbb
parentd244c5eaf80677bc785ada68d4bb805cdf2d4505 (diff)
downloadbusybox-9ca26d38c513c918cf88db8fef057b7ae5c133f0.zip
busybox-9ca26d38c513c918cf88db8fef057b7ae5c133f0.tar.gz
ping: support -I addr in family neutral manner; reuse a bit of common code
Diffstat (limited to 'libbb')
-rw-r--r--libbb/xconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xconnect.c b/libbb/xconnect.c
index 66b1366..118fe3e 100644
--- a/libbb/xconnect.c
+++ b/libbb/xconnect.c
@@ -203,7 +203,7 @@ len_and_sockaddr* xhost2sockaddr(const char *host, int port)
return str2sockaddr(host, port, AF_UNSPEC, DIE_ON_ERROR);
}
-static len_and_sockaddr* xdotted2sockaddr(const char *host, int port)
+len_and_sockaddr* xdotted2sockaddr(const char *host, int port)
{
return str2sockaddr(host, port, AF_UNSPEC, AI_NUMERICHOST | DIE_ON_ERROR);
}