diff options
-rw-r--r-- | source3/rpcclient/rpcclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 8ff9742b87..1c0c21f574 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -706,7 +706,7 @@ static NTSTATUS do_cmd(struct cli_state *cli, cli, cmd_entry->interface, default_transport, pipe_default_auth_level, - cli->desthost, + cli_state_remote_name(cli), NULL, NULL, &cmd_entry->rpc_pipe); break; @@ -737,7 +737,7 @@ static NTSTATUS do_cmd(struct cli_state *cli, cli, cmd_entry->interface, default_transport, pipe_default_auth_level, - cli->desthost, + cli_state_remote_name(cli), NULL, NULL, &cmd_entry->rpc_pipe); break; |