From b706fd37f6d0e7e66718488d069053687ad0664c Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 10 Aug 2011 23:10:48 -0400 Subject: s3-messaging: Fix messaging classes. This has been broken since ff0ac5b0 (May 2007). Basically all messages were belonging to the General class except for CTDB messages. This fixed the message_send_all() function to correctly compute the class, and fixes registrations to include all they need to cope with the fact not all messages are of calss general (registrations rotted a bit because as long as FLAG_MSG_GENERAL was defined the process woould receive all messages). Signed-off-by: Andreas Schneider --- source3/librpc/idl/messaging.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/librpc/idl/messaging.idl') diff --git a/source3/librpc/idl/messaging.idl b/source3/librpc/idl/messaging.idl index 8e15bcecc1..309f0bb9f0 100644 --- a/source3/librpc/idl/messaging.idl +++ b/source3/librpc/idl/messaging.idl @@ -94,7 +94,7 @@ interface messaging /* event messages */ MSG_DUMP_EVENT_LIST = 0x0500, - /* dbwrap messages 4001-4999 */ + /* dbwrap messages 4001-4999 (0x0FA0 - 0x1387) */ MSG_DBWRAP_TDB2_CHANGES = 4001, MSG_DBWRAP_G_LOCK_RETRY = 4002 } messaging_type; -- cgit