diff options
author | Amitay Isaacs <amitay@gmail.com> | 2017-07-12 18:52:56 +1000 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2017-08-30 14:59:24 +0200 |
commit | b03f3b56632393a90c8ff6fc9c5fff7baf551f88 (patch) | |
tree | 834b1a3a336898f8e9229be8b03a0c9bc503cbb9 /ctdb/protocol/protocol_control.c | |
parent | a8569128f59958a5511c1dbb05015ca6ed6f70ef (diff) | |
download | samba-b03f3b56632393a90c8ff6fc9c5fff7baf551f88.tar.gz |
ctdb-protocol: Fix marshalling for ctdb_public_ip_info
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/protocol/protocol_control.c')
-rw-r--r-- | ctdb/protocol/protocol_control.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/protocol/protocol_control.c b/ctdb/protocol/protocol_control.c index bb052a2b84c..8871d04ec49 100644 --- a/ctdb/protocol/protocol_control.c +++ b/ctdb/protocol/protocol_control.c @@ -1527,7 +1527,7 @@ static void ctdb_reply_control_data_push(struct ctdb_reply_control_data *cd, break; case CTDB_CONTROL_GET_PUBLIC_IP_INFO: - ctdb_public_ip_info_push(cd->data.ipinfo, buf); + ctdb_public_ip_info_push(cd->data.ipinfo, buf, &np); break; case CTDB_CONTROL_GET_IFACES: @@ -1709,7 +1709,7 @@ static int ctdb_reply_control_data_pull(uint8_t *buf, size_t buflen, case CTDB_CONTROL_GET_PUBLIC_IP_INFO: ret = ctdb_public_ip_info_pull(buf, buflen, mem_ctx, - &cd->data.ipinfo); + &cd->data.ipinfo, &np); break; case CTDB_CONTROL_GET_IFACES: |