summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2018-03-21 12:52:49 -0700
committerJeremy Allison <jra@samba.org>2018-03-22 02:15:13 +0100
commitad973fddef00d6d92443be89e7f5404006a94d99 (patch)
tree1f7e80fc37a18b4aba9827f377f9a0232cfeba8c /lib/util
parentcdde6d93605d15a59e816a35e8e02ca193bf1403 (diff)
downloadsamba-ad973fddef00d6d92443be89e7f5404006a94d99.tar.gz
s3: smbd: SMB2: Add DBGC_SMB2_CREDITS class to specifically debug credit issues.
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 'lib/util')
-rw-r--r--lib/util/debug.c1
-rw-r--r--lib/util/debug.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c
index 47590403e1d..d010b724203 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -542,6 +542,7 @@ static const char *default_classname_table[] = {
[DBGC_KERBEROS] = "kerberos",
[DBGC_DRS_REPL] = "drs_repl",
[DBGC_SMB2] = "smb2",
+ [DBGC_SMB2_CREDITS] = "smb2_credits",
};
/*
diff --git a/lib/util/debug.h b/lib/util/debug.h
index 1b17fad9694..1e184b47de9 100644
--- a/lib/util/debug.h
+++ b/lib/util/debug.h
@@ -94,6 +94,7 @@ bool dbghdr( int level, const char *location, const char *func);
#define DBGC_KERBEROS 26
#define DBGC_DRS_REPL 27
#define DBGC_SMB2 28
+#define DBGC_SMB2_CREDITS 29
/* So you can define DBGC_CLASS before including debug.h */
#ifndef DBGC_CLASS