ctdb-common: Use sin6_len only if the structure supports it
authorAmitay Isaacs <amitay@gmail.com>
Wed, 27 Jun 2018 03:41:38 +0000 (13:41 +1000)
committerKarolin Seeger <kseeger@samba.org>
Tue, 10 Jul 2018 08:44:13 +0000 (10:44 +0200)
commit9974975faccdceddd8f37b75eb39099636685486
tree83dd33ca8adbe537ca8dbab8d3346c72c95a408b
parentbf7ae2fb5d4bdd4d3110f28b96130f54fe98daa5
ctdb-common: Use sin6_len only if the structure supports it

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13493

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit 79992dbb73ac9749ac987cb6a88964fa600b4c35)
ctdb/common/ctdb_util.c
ctdb/common/system_util.c
ctdb/protocol/protocol_util.c