diff options
Diffstat (limited to 'include/libbb.h')
-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; |