summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/messages.h2
-rw-r--r--source3/lib/messages.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/messages.h b/source3/include/messages.h
index c97ad982b3..58a65d2eb8 100644
--- a/source3/include/messages.h
+++ b/source3/include/messages.h
@@ -122,6 +122,8 @@
#define FLAG_MSG_NMBD 0x0004
#define FLAG_MSG_PRINT_NOTIFY 0x0008
#define FLAG_MSG_PRINT_GENERAL 0x0010
+/* dbwrap messages 4001-4999 */
+#define FLAG_MSG_DBWRAP 0x0020
/*
diff --git a/source3/lib/messages.c b/source3/lib/messages.c
index 5cd575466f..ea03f8d43b 100644
--- a/source3/lib/messages.c
+++ b/source3/lib/messages.c
@@ -162,6 +162,8 @@ bool message_send_all(struct messaging_context *msg_ctx,
msg_all.msg_flag = FLAG_MSG_PRINT_GENERAL;
else if (msg_type > 3000 && msg_type < 4000)
msg_all.msg_flag = FLAG_MSG_SMBD;
+ else if (msg_type > 4000 && msg_type < 5000)
+ msg_all.msg_flag = FLAG_MSG_DBWRAP;
else
return False;