summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-01-02 06:08:02 +0000
committerMartin Pool <mbp@samba.org>2002-01-02 06:08:02 +0000
commit05ae7ca1cb4ace159e846ee2f15871f45f32ff90 (patch)
treeb864aeb9673ee76ac4a6af3dd073f6cd8c15d89a /source3
parentf23cc6ab25b8b642c713b571ca77304178070339 (diff)
downloadsamba-05ae7ca1cb4ace159e846ee2f15871f45f32ff90.tar.gz
samba-05ae7ca1cb4ace159e846ee2f15871f45f32ff90.tar.bz2
samba-05ae7ca1cb4ace159e846ee2f15871f45f32ff90.zip
Also capture received data
(This used to be commit 93fadcd1118b390605d2504bee63a1e8b6373ac5)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_client/cli_pipe.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 829692ccc3..0d2f6b17e0 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -896,6 +896,11 @@ BOOL rpc_api_pipe_req(struct cli_state *cli, uint8 op_num,
ret = rpc_api_pipe(cli, 0x0026, &outgoing_packet, rdata);
+ /* Also capture received data */
+ slprintf(dump_name, sizeof(dump_name) - 1, "reply_%s",
+ cli_pipe_get_name(cli));
+ prs_dump(dump_name, op_num, rdata);
+
prs_mem_free(&outgoing_packet);
return ret;