aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-24 16:03:47 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-24 16:03:47 +0100
commitb1278a38bcb108fad3230ecce94a53b64571f9de (patch)
tree27ccecf5dd5a76cff75e809d5518fb1589479d85 /include
parent9cc60d7e6b21e659a07042e46b9cd88f498fc8c0 (diff)
downloadbusybox-b1278a38bcb108fad3230ecce94a53b64571f9de.tar.gz
ntpd: locally bind every peer socket. +22 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 77c9e2888..1194f7eca 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -490,7 +490,8 @@ enum {
/* Create stream socket, and allocate suitable lsa.
* (lsa of correct size and lsa->sa.sa_family (AF_INET/AF_INET6))
* af == AF_UNSPEC will result in trying to create IPv6 socket,
- * and if kernel doesn't support it, IPv4.
+ * and if kernel doesn't support it, fall back to IPv4.
+ * This is useful if you plan to bind to resulting local lsa.
*/
#if ENABLE_FEATURE_IPV6
int xsocket_type(len_and_sockaddr **lsap, int af, int sock_type) FAST_FUNC;