1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb
root bf67153402 some platforms are very picky about the third argument passed to bind().
and would complain if sa.family is AF_INET and the third argument is not exactly the size of a sockaddr_in.

We used to pass a union containing both a sockaddr_in and a sockaddr_in6  which would mean that on those platforms bind() would fail since the passed structure for AF_INET would be too big.

Thus we need to set and pass the appropriate size to bind. At the same time for thos eplatforms we can also set sin[6]_size to the expected size.
(bind() on those platforms were isurprisingly perfectly ok with sin_len was "too big")

(This used to be ctdb commit 5d3018c37179966f75183d9a98790eaaaf1d2cfc)
2008-12-05 10:33:38 +11:00
..
client reqrite the handling of flag updates across the cluster to eliminate a 2008-11-20 12:43:18 +11:00
common add a CTDB_SOCKET variable that can be used to override the default 2008-11-11 14:49:30 +11:00
config remove two variables no longer used from the example sysconfig file 2008-11-21 11:30:32 +11:00
doc add a description of the recovery-process 2008-12-04 14:35:00 +11:00
ib merge from ronnie 2008-02-04 20:07:15 +11:00
include redesign how reloadnodes is implemented. 2008-12-02 13:26:30 +11:00
lib The author of the upstream code asked for this code to be GPLv2+ not GPLv3 2008-09-30 07:16:17 -07:00
packaging/RPM new version 1.0.67 2008-12-04 15:25:03 +11:00
server redesign how reloadnodes is implemented. 2008-12-02 13:26:30 +11:00
tcp some platforms are very picky about the third argument passed to bind(). 2008-12-05 10:33:38 +11:00
tests add a CTDB_SOCKET variable that can be used to override the default 2008-11-11 14:49:30 +11:00
tools print the list of valid debug level literals when an invalid debug level 2008-12-02 14:08:10 +11:00
utils initial ipv6 patch 2008-08-19 14:58:29 +10:00
web add a link to my webpage 2008-08-25 09:41:08 +10:00
.bzrignore more code rearrangement 2007-06-07 22:16:48 +10:00
.gitignore ignore some autogenerated test files 2008-01-29 14:00:16 +11:00
aclocal.m4 initial version 2006-11-18 10:41:20 +11:00
autogen.sh use the new lib/events autoconf code 2007-05-05 17:18:06 +10:00
config.guess more merges for GPLv3 update 2007-07-10 15:46:05 +10:00
config.mk minor back-merge from samba4 2007-07-10 18:13:47 +10:00
config.sub more merges for GPLv3 update 2007-07-10 15:46:05 +10:00
configure.ac only link to -lipq if needed 2007-10-15 14:44:06 +10:00
configure.rpm fixed permissions on configure.rpm 2008-04-22 16:48:25 +02:00
install-sh initial version 2006-11-18 10:41:20 +11:00
Makefile.in fix an incorrect path 2008-12-04 15:03:40 +11:00