ctdb-protocol: Add missing push support for new controls v4-18-test
authorMartin Schwenke <mschwenke@ddn.com>
Fri, 9 Feb 2024 06:29:46 +0000 (17:29 +1100)
committerJule Anger <janger@samba.org>
Tue, 20 Feb 2024 11:43:27 +0000 (12:43 +0100)
commit42f560b95755d9130bebe0c547044b886f39d204
treecc3eed98348a6b3c15ca9e20f3e5f9a04b5f9328
parent18305d8d86c392704ac3e9bb4255e299d65db528
ctdb-protocol: Add missing push support for new controls

CTDB_CONTROL_TCP_CLIENT_DISCONNECTED and
CTDB_CONTROL_TCP_CLIENT_PASSED were added in commits
c6602b686b4e50d93272667ef86d3904181fb1ab and
037e8e449deb136ad5ed5e4de05439411b545b6d.  They were missing test
support for the packet push/pull.  While adding the testing (for
completeness, before adding another new control) I noticed that the
push functionality was absent.  This adds that, along with the test
support.

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

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Feb 19 10:21:48 UTC 2024 on atb-devel-224

(cherry picked from commit dd9b11acbc4fbde1941719968aeb463b853b0ffb)
ctdb/protocol/protocol_control.c
ctdb/tests/src/protocol_common_ctdb.c
ctdb/tests/src/protocol_ctdb_test.c