From b1278a38bcb108fad3230ecce94a53b64571f9de Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 24 Nov 2009 16:03:47 +0100 Subject: ntpd: locally bind every peer socket. +22 bytes Signed-off-by: Denys Vlasenko --- include/libbb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/libbb.h') diff --git a/include/libbb.h b/include/libbb.h index 77c9e28..1194f7e 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; -- cgit v1.1