diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-24 16:03:47 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-24 16:03:47 +0100 |
commit | b1278a38bcb108fad3230ecce94a53b64571f9de (patch) | |
tree | 27ccecf5dd5a76cff75e809d5518fb1589479d85 /include | |
parent | 9cc60d7e6b21e659a07042e46b9cd88f498fc8c0 (diff) | |
download | busybox-w32-b1278a38bcb108fad3230ecce94a53b64571f9de.tar.gz busybox-w32-b1278a38bcb108fad3230ecce94a53b64571f9de.tar.bz2 busybox-w32-b1278a38bcb108fad3230ecce94a53b64571f9de.zip |
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.h | 3 |
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 { | |||
490 | /* Create stream socket, and allocate suitable lsa. | 490 | /* Create stream socket, and allocate suitable lsa. |
491 | * (lsa of correct size and lsa->sa.sa_family (AF_INET/AF_INET6)) | 491 | * (lsa of correct size and lsa->sa.sa_family (AF_INET/AF_INET6)) |
492 | * af == AF_UNSPEC will result in trying to create IPv6 socket, | 492 | * af == AF_UNSPEC will result in trying to create IPv6 socket, |
493 | * and if kernel doesn't support it, IPv4. | 493 | * and if kernel doesn't support it, fall back to IPv4. |
494 | * This is useful if you plan to bind to resulting local lsa. | ||
494 | */ | 495 | */ |
495 | #if ENABLE_FEATURE_IPV6 | 496 | #if ENABLE_FEATURE_IPV6 |
496 | int xsocket_type(len_and_sockaddr **lsap, int af, int sock_type) FAST_FUNC; | 497 | int xsocket_type(len_and_sockaddr **lsap, int af, int sock_type) FAST_FUNC; |