From: Stefan Metzmacher Date: Thu, 25 Jun 2020 12:00:27 +0000 (+0200) Subject: s3:ctdbd_conn: make use of ctdbd_control_local() in ctdbd_register_ips() X-Git-Tag: samba-4.13.0rc1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba66abef8887c71d9fb94980402796f8fbea1d5b;p=thirdparty%2Fsamba.git s3:ctdbd_conn: make use of ctdbd_control_local() in ctdbd_register_ips() BUG: https://bugzilla.samba.org/show_bug.cgi?id=11898 Signed-off-by: Stefan Metzmacher Reviewed-by: Günther Deschner --- diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index f258f1109ed..79373a72121 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -1162,10 +1162,10 @@ int ctdbd_register_ips(struct ctdbd_connection *conn, * can send an extra ack to trigger a reset for our client, so it * immediately reconnects */ - ret = ctdbd_control(conn, CTDB_CURRENT_NODE, - CTDB_CONTROL_TCP_CLIENT, 0, - CTDB_CTRL_FLAG_NOREPLY, data, NULL, NULL, - NULL); + ret = ctdbd_control_local(conn, + CTDB_CONTROL_TCP_CLIENT, 0, + CTDB_CTRL_FLAG_NOREPLY, data, NULL, NULL, + NULL); if (ret != 0) { return ret; }