summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2012-11-23 18:15:30 +0100
committerStefan Metzmacher <metze@samba.org>2012-11-26 17:36:19 +0100
commitb11ba248837ae9bf1df1c5ae1ca1768d57e582bb (patch)
tree794180ee305f5feffaf91799095319be29c1e69c /source3/torture
parent8336061096c259f5c3c93f869ff51bf4daab3fdc (diff)
downloadsamba-b11ba248837ae9bf1df1c5ae1ca1768d57e582bb.tar.gz
samba-b11ba248837ae9bf1df1c5ae1ca1768d57e582bb.tar.bz2
samba-b11ba248837ae9bf1df1c5ae1ca1768d57e582bb.zip
s3-rpc_client: try to use socket_addr if available in rpc_pipe_open_tcp() (bug #9426)
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Nov 26 17:36:20 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/rpc_open_tcp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/torture/rpc_open_tcp.c b/source3/torture/rpc_open_tcp.c
index 074b186bad..d29f4cfbee 100644
--- a/source3/torture/rpc_open_tcp.c
+++ b/source3/torture/rpc_open_tcp.c
@@ -94,7 +94,8 @@ int main(int argc, const char **argv)
return -1;
}
- status = rpc_pipe_open_tcp(mem_ctx, argv[2], &((*table)->syntax_id),
+ status = rpc_pipe_open_tcp(mem_ctx, argv[2], NULL,
+ &((*table)->syntax_id),
&rpc_pipe);
if (!NT_STATUS_IS_OK(status)) {
d_printf("ERROR calling rpc_pipe_open_tcp(): %s\n",