summaryrefslogtreecommitdiff
path: root/src/sp_utils.h
diff options
context:
space:
mode:
authorGiovanni2020-07-21 11:58:22 +0200
committerGitHub2020-07-21 11:58:22 +0200
commitb90e0ecc6b0717786ae72236c37157f1b5983521 (patch)
tree8b9bdb4aaa8ba6bfdf1baef09df88afa64c8a4f6 /src/sp_utils.h
parent043d9897b4d6879f9a91dbd0ccdb476649731f7c (diff)
Fix #338 - added log type if type is simulation, drop or log. (#339)
Co-authored-by: Giovanni Dante Grazioli <giovanni.dantegrazioli@nbs-system.com>
Diffstat (limited to 'src/sp_utils.h')
-rw-r--r--src/sp_utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp_utils.h b/src/sp_utils.h
index 8d1d44a..91a5a20 100644
--- a/src/sp_utils.h
+++ b/src/sp_utils.h
@@ -28,8 +28,8 @@
28#define HOOK_FUNCTION_BY_REGEXP(regexp, hook_table, new_function) \ 28#define HOOK_FUNCTION_BY_REGEXP(regexp, hook_table, new_function) \
29 hook_regexp(regexp, SNUFFLEUPAGUS_G(hook_table), new_function) 29 hook_regexp(regexp, SNUFFLEUPAGUS_G(hook_table), new_function)
30 30
31#define SP_LOG_SIMULATION E_WARNING 31#define SP_LOG_SIMULATION 0x100000
32#define SP_LOG_DROP E_ERROR 32#define SP_LOG_DROP 0x200000
33#define SP_LOG_DEBUG E_NOTICE 33#define SP_LOG_DEBUG E_NOTICE
34#define SP_LOG_ERROR E_ERROR 34#define SP_LOG_ERROR E_ERROR
35#define SP_LOG_WARN E_WARNING 35#define SP_LOG_WARN E_WARNING