diff options
-rw-r--r-- | source4/libcli/rpc/dcerpc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/libcli/rpc/dcerpc.c b/source4/libcli/rpc/dcerpc.c index 7980b77757..96a355c9e1 100644 --- a/source4/libcli/rpc/dcerpc.c +++ b/source4/libcli/rpc/dcerpc.c @@ -681,7 +681,7 @@ NTSTATUS dcerpc_ndr_request(struct dcerpc_pipe *p, } /* push the structure into a blob */ - status = ndr_push_rpcecho_addone(push, struct_ptr); + status = ndr_push(push, struct_ptr); if (!NT_STATUS_IS_OK(status)) { goto failed; } @@ -690,7 +690,7 @@ NTSTATUS dcerpc_ndr_request(struct dcerpc_pipe *p, request = ndr_push_blob(push); /* make the actual dcerpc request */ - status = cli_dcerpc_request(p, RPCECHO_CALL_ADDONE, mem_ctx, &request, &response); + status = cli_dcerpc_request(p, opnum, mem_ctx, &request, &response); if (!NT_STATUS_IS_OK(status)) { goto failed; } @@ -702,7 +702,7 @@ NTSTATUS dcerpc_ndr_request(struct dcerpc_pipe *p, } /* pull the structure from the blob */ - status = ndr_pull_rpcecho_addone(pull, struct_ptr); + status = ndr_pull(pull, struct_ptr); if (!NT_STATUS_IS_OK(status)) { goto failed; } |