mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
rpc_server: Re-order and rename remote and local address in np_open()
We use this order and name consistently eleswhere. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
8aff845db8
commit
f1603598d6
@ -49,8 +49,8 @@ bool fsp_is_np(struct files_struct *fsp)
|
||||
}
|
||||
|
||||
NTSTATUS np_open(TALLOC_CTX *mem_ctx, const char *name,
|
||||
const struct tsocket_address *local_address,
|
||||
const struct tsocket_address *remote_address,
|
||||
const struct tsocket_address *remote_client_address,
|
||||
const struct tsocket_address *local_server_address,
|
||||
struct auth_session_info *session_info,
|
||||
struct tevent_context *ev_ctx,
|
||||
struct messaging_context *msg_ctx,
|
||||
@ -84,8 +84,8 @@ NTSTATUS np_open(TALLOC_CTX *mem_ctx, const char *name,
|
||||
case RPC_SERVICE_MODE_EXTERNAL:
|
||||
status = make_external_rpc_pipe(handle,
|
||||
name,
|
||||
remote_address,
|
||||
local_address,
|
||||
remote_client_address,
|
||||
local_server_address,
|
||||
session_info,
|
||||
&npa);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
@ -111,7 +111,7 @@ NTSTATUS np_open(TALLOC_CTX *mem_ctx, const char *name,
|
||||
msg_ctx,
|
||||
name,
|
||||
&syntax,
|
||||
remote_address,
|
||||
remote_client_address,
|
||||
session_info,
|
||||
&npa);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
|
@ -29,8 +29,8 @@ struct pipes_struct;
|
||||
|
||||
bool fsp_is_np(struct files_struct *fsp);
|
||||
NTSTATUS np_open(TALLOC_CTX *mem_ctx, const char *name,
|
||||
const struct tsocket_address *local_address,
|
||||
const struct tsocket_address *remote_address,
|
||||
const struct tsocket_address *remote_client_address,
|
||||
const struct tsocket_address *local_server_address,
|
||||
struct auth_session_info *session_info,
|
||||
struct tevent_context *ev_ctx,
|
||||
struct messaging_context *msg_ctx,
|
||||
|
@ -64,8 +64,8 @@ NTSTATUS open_np_file(struct smb_request *smb_req, const char *name,
|
||||
}
|
||||
|
||||
status = np_open(fsp, name,
|
||||
conn->sconn->local_address,
|
||||
conn->sconn->remote_address,
|
||||
conn->sconn->local_address,
|
||||
conn->session_info,
|
||||
conn->sconn->ev_ctx,
|
||||
conn->sconn->msg_ctx,
|
||||
|
Loading…
Reference in New Issue
Block a user