diff options
author | Jeremy Allison <jra@samba.org> | 2018-03-21 12:01:05 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2018-03-22 02:15:13 +0100 |
commit | 8dabcf8948c2e514b489169c34673e093519b583 (patch) | |
tree | 37bc1eafb6f5f4456409d06dc0d6daf1304a0246 /source3/smbd/smb2_read.c | |
parent | e0cf35aec23e2fa52a8a2c8b151a81175445efaf (diff) | |
download | samba-8dabcf8948c2e514b489169c34673e093519b583.tar.gz |
s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it.
Will allow easier smb2-specific debugging.
https://bugzilla.samba.org/show_bug.cgi?id=13347
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
Diffstat (limited to 'source3/smbd/smb2_read.c')
-rw-r--r-- | source3/smbd/smb2_read.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/smb2_read.c b/source3/smbd/smb2_read.c index 273c56cf352..a7d2496bc6f 100644 --- a/source3/smbd/smb2_read.c +++ b/source3/smbd/smb2_read.c @@ -28,6 +28,9 @@ #include "rpc_server/srv_pipe_hnd.h" #include "lib/util/sys_rw_data.h" +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_SMB2 + static struct tevent_req *smbd_smb2_read_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct smbd_smb2_request *smb2req, |