summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-kernel.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-01-09 00:53:00 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2015-01-09 00:53:30 +0100
commit7ce9812173bd32dd46f2804b50815abf3fc18f11 (patch)
tree63695a0a81ba1f1f7f9f2600bce8eda128af5552 /src/libsystemd/sd-bus/bus-kernel.c
parent5ebbc3f32fc2c5f04dcb2647f51674a0532f1d18 (diff)
bus: append bloom-filter to all signals
Make sure to append bloom-filters to all signal-messages, not only broadcasts.
Diffstat (limited to 'src/libsystemd/sd-bus/bus-kernel.c')
-rw-r--r--src/libsystemd/sd-bus/bus-kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-kernel.c b/src/libsystemd/sd-bus/bus-kernel.c
index 7c946e61c2..e84e14b03f 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);