hush/include
Jonh Wendell 9106107a50 Make unix (local) sockets work without IPv6 enabled
The xsocket_type() function had an optional "family" argument
that was enabled only if IPv6 is enabled. In the case of the
function was called with a valid AF_UNIX argument, and IPv6 is
disabled, this argument was silently ignored.

This patch makes the "family" argument mandatory, while keeping
the old behavior i.e., if AF_UNSPEC is passed, we try first IPv6
(if it's enabled) and fallback to IPv4.

Also I changed all callers of xsocket_type() to reflect its new
interface.

Signed-off-by: Jonh Wendell <jonh.wendell@vexcorp.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2012-02-09 15:14:33 +01:00
..
.gitignore
applet_metadata.h applet_tables: do not include libbb.h, that header ir for target builds 2011-03-28 01:23:38 +02:00
applets.src.h mdev: expand --help so that it's actually useful. 2011-09-19 12:18:11 +02:00
ar.h
bb_archive.h suppress a "integer overflow in expression" waring on big endian. Closes 4405 2011-12-05 04:54:14 +01:00
busybox.h applet_tables: do not include libbb.h, that header ir for target builds 2011-03-28 01:23:38 +02:00
dump.h
fix_u32.h
grp_.h platform.h: define endgrent() and endpwent() as no-ops on Android 2012-01-06 16:23:18 +01:00
inet_common.h
libbb.h Make unix (local) sockets work without IPv6 enabled 2012-02-09 15:14:33 +01:00
liblzo_interface.h
platform.h Move Adroid endgrent() and endpwent() NOPS to libbb.h 2012-01-08 16:11:38 +01:00
pwd_.h platform.h: define endgrent() and endpwent() as no-ops on Android 2012-01-06 16:23:18 +01:00
rtc_.h
shadow_.h
unicode.h
usage.src.h move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
volume_id.h
xatonum.h udhcp: finish support of classless static routes 2011-12-16 17:05:52 +01:00
xregex.h