[systemd-commits] src/libsystemd
David Herrmann
dvdhrm at kemper.freedesktop.org
Thu Jan 8 15:54:01 PST 2015
src/libsystemd/sd-bus/bus-kernel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7ce9812173bd32dd46f2804b50815abf3fc18f11
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Fri Jan 9 00:53:00 2015 +0100
bus: append bloom-filter to all signals
Make sure to append bloom-filters to all signal-messages, not only
broadcasts.
diff --git a/src/libsystemd/sd-bus/bus-kernel.c b/src/libsystemd/sd-bus/bus-kernel.c
index 7c946e6..e84e14b 100644
--- a/src/libsystemd/sd-bus/bus-kernel.c
+++ b/src/libsystemd/sd-bus/bus-kernel.c
@@ -357,7 +357,7 @@ static int bus_message_setup_kmsg(sd_bus *b, sd_bus_message *m) {
append_payload_vec(&d, part->data, part->size);
}
- if (m->kdbus->dst_id == KDBUS_DST_ID_BROADCAST) {
+ if (m->header->type == SD_BUS_MESSAGE_SIGNAL) {
struct kdbus_bloom_filter *bloom;
bloom = append_bloom(&d, m->bus->bloom_size);
More information about the systemd-commits
mailing list