diff options
author | Jeremy Allison <jra@samba.org> | 2018-03-21 12:01:05 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-03-22 22:03:26 +0100 |
commit | 8bfe55e063fbb79048dcf715520265f3ac814434 (patch) | |
tree | 7a75c48f3ac454e6b26687d140f657d1e4920b21 /source3/smbd/smb2_create.c | |
parent | fe02c78becb2f0bed3fe876157f2ea2d52bb0a97 (diff) | |
download | samba-8bfe55e063fbb79048dcf715520265f3ac814434.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>
(cherry picked from commit 8dabcf8948c2e514b489169c34673e093519b583)
Diffstat (limited to 'source3/smbd/smb2_create.c')
-rw-r--r-- | source3/smbd/smb2_create.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c index c4fe2477bad..26df7180acb 100644 --- a/source3/smbd/smb2_create.c +++ b/source3/smbd/smb2_create.c @@ -29,6 +29,9 @@ #include "../lib/util/tevent_ntstatus.h" #include "messages.h" +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_SMB2 + int map_smb2_oplock_levels_to_samba(uint8_t in_oplock_level) { switch(in_oplock_level) { |