mirror_corosync/include/corosync
Jan Friesse 2ab4d41886 totemip: Use AF_UNSPEC for ipv4-6 and ipv6-4
AF_UNSPEC returns different results than AF_INET/AF_INET6, because of
nsswitch.conf search is in order and it stops asking other
modules once current module success.

Example of difference between previous and new code when ipv6-4 is used:
- /etc/hosts contains test_name with an ipv4
- previous code called AF_INET6 where /etc/hosts failed so other methods
were used which may return IPv6 addr -> result was ether fail or IPv6
address.
- new code calls AF_UNSPEC returning IPv4 defined in /etc/hosts ->
result is IPv4 address

New code behavior should solve problems caused by nss-myhostname.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2019-01-11 09:37:30 +01:00
..
totem totemip: Use AF_UNSPEC for ipv4-6 and ipv6-4 2019-01-11 09:37:30 +01:00
.gitignore build: drop obsoleted SOCKETDIR option 2012-03-12 07:12:48 +01:00
cfg.h log: Implement support for reopening log files 2018-10-16 14:46:52 +02:00
cmap.h cmap: Fix strncpy warning in cmap_iter_next 2018-08-13 09:00:41 +02:00
coroapi.h knet: Always use link0 for loopback 2018-03-01 14:23:20 +01:00
corodefs.h Adds doxygen stubs to include directory 2016-05-12 15:59:48 +02:00
corotypes.h Adds doxygen stubs to include directory 2016-05-12 15:59:48 +02:00
cpg.h Adds doxygen stubs to include directory 2016-05-12 15:59:48 +02:00
hdb.h Adds doxygen stubs to include directory 2016-05-12 15:59:48 +02:00
icmap.h stats: Add map with on-demand statistics 2017-07-27 15:53:04 +02:00
ipc_cfg.h log: Implement support for reopening log files 2018-10-16 14:46:52 +02:00
ipc_cmap.h stats: Add map with on-demand statistics 2017-07-27 15:53:04 +02:00
ipc_cpg.h Adds doxygen stubs to include directory 2016-05-12 15:59:48 +02:00
ipc_quorum.h Adds doxygen stubs to include directory 2016-05-12 15:59:48 +02:00
ipc_votequorum.h votequorum: Fix up quorum/nodelist callbacks 2016-06-28 13:58:39 +02:00
logsys.h log: Implement support for reopening log files 2018-10-16 14:46:52 +02:00
mar_gen.h Adds doxygen stubs to include directory 2016-05-12 15:59:48 +02:00
quorum.h Adds doxygen stubs to include directory 2016-05-12 15:59:48 +02:00
sam.h low:typo fix in sam.h 2016-06-27 12:47:34 +02:00
sq.h Adds doxygen stubs to include directory 2016-05-12 15:59:48 +02:00
swab.h Adds doxygen stubs to include directory 2016-05-12 15:59:48 +02:00
votequorum.h votequorum: Fix up quorum/nodelist callbacks 2016-06-28 13:58:39 +02:00