nc: port nc 1.10 to busybox
diff --git a/libbb/xconnect.c b/libbb/xconnect.c
index 3c1eec9..8466325 100644
--- a/libbb/xconnect.c
+++ b/libbb/xconnect.c
@@ -208,7 +208,7 @@
 	return str2sockaddr(host, port, AF_UNSPEC, AI_NUMERICHOST | DIE_ON_ERROR);
 }
 
-static int xsocket_type(len_and_sockaddr **lsap, int sock_type)
+int xsocket_type(len_and_sockaddr **lsap, int sock_type)
 {
 	len_and_sockaddr *lsa;
 	int fd;