From a46b26556356d20e569ccdb408dd13214e85cf5d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 22 Jul 2011 13:44:36 +0200 Subject: s3:net_rpc_join: make use of cli_state_remote_sockaddr() metze --- source3/utils/net_rpc_join.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/utils/net_rpc_join.c b/source3/utils/net_rpc_join.c index f84ab1caab..8f1277764c 100644 --- a/source3/utils/net_rpc_join.c +++ b/source3/utils/net_rpc_join.c @@ -512,7 +512,8 @@ int net_rpc_join_newstyle(struct net_context *c, int argc, const char **argv) } /* double-check, connection from scratch */ - status = net_rpc_join_ok(c, domain, cli->desthost, &cli->dest_ss); + status = net_rpc_join_ok(c, domain, cli->desthost, + cli_state_remote_sockaddr(cli)); retval = NT_STATUS_IS_OK(status) ? 0 : -1; done: -- cgit