summaryrefslogtreecommitdiffstats
path: root/source
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
commit93fadcd1118b390605d2504bee63a1e8b6373ac5 (patch)
tree7f0356a7a6ca15c465c253009f33e12f22943664 /source
parent9973b22b34dc2a88a20b821d4e69f39d2a6aa6a3 (diff)
downloadsamba-93fadcd1118b390605d2504bee63a1e8b6373ac5.tar.gz
samba-93fadcd1118b390605d2504bee63a1e8b6373ac5.tar.xz
samba-93fadcd1118b390605d2504bee63a1e8b6373ac5.zip
Also capture received data
Diffstat (limited to 'source')
-rw-r--r--source/rpc_client/cli_pipe.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c
index 829692ccc31..0d2f6b17e0b 100644
--- a/source/rpc_client/cli_pipe.c
+++ b/source/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;