aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/acl/hash_lookup_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/acl/hash_lookup_private.h')
-rw-r--r--src/plugins/acl/hash_lookup_private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/acl/hash_lookup_private.h b/src/plugins/acl/hash_lookup_private.h
index 7b6449cd6ad..bc621416125 100644
--- a/src/plugins/acl/hash_lookup_private.h
+++ b/src/plugins/acl/hash_lookup_private.h
@@ -18,9 +18,15 @@
#define ACL_HASH_LOOKUP_DEBUG 0
#if ACL_HASH_LOOKUP_DEBUG == 1
+#define DBG0(...) clib_warning(__VA_ARGS__)
+#define DBG(...)
+#define DBG_UNIX_LOG(...)
+#elif ACL_HASH_LOOKUP_DEBUG == 2
+#define DBG0(...) clib_warning(__VA_ARGS__)
#define DBG(...) clib_warning(__VA_ARGS__)
#define DBG_UNIX_LOG(...) clib_unix_warning(__VA_ARGS__)
#else
+#define DBG0(...)
#define DBG(...)
#define DBG_UNIX_LOG(...)
#endif