summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc_connect.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-02-13 16:27:22 +0100
committerAndrew Bartlett <abartlet@samba.org>2014-05-26 03:31:27 +0200
commit374c5c4109facbcf3e9a20d1b116d369f14164c0 (patch)
treed58461c9ba5a5f254e3d21dfe519fb2856979b15 /source4/librpc/rpc/dcerpc_connect.c
parent4c11fa68d48caa06d6f9c9db462a2d2e6a0bc3d3 (diff)
downloadsamba-374c5c4109facbcf3e9a20d1b116d369f14164c0.tar.gz
s4:librpc/rpc: return the local/remote ip from dcerpc_pipe_open_tcp_recv()
It's important that the caller can remember the ips, so that a secondary connection can use the same addresses in order to get association group binding to work. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/librpc/rpc/dcerpc_connect.c')
-rw-r--r--source4/librpc/rpc/dcerpc_connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc_connect.c b/source4/librpc/rpc/dcerpc_connect.c
index da452e682d8..39ff941e771 100644
--- a/source4/librpc/rpc/dcerpc_connect.c
+++ b/source4/librpc/rpc/dcerpc_connect.c
@@ -346,7 +346,7 @@ static void continue_pipe_open_ncacn_ip_tcp(struct composite_context *ctx)
struct composite_context);
/* receive result of named pipe open request on tcp/ip */
- c->status = dcerpc_pipe_open_tcp_recv(ctx);
+ c->status = dcerpc_pipe_open_tcp_recv(ctx, NULL, NULL, NULL);
if (!composite_is_ok(c)) return;
composite_done(c);