bus: append bloom-filter to all signals

Make sure to append bloom-filters to all signal-messages, not only
broadcasts.
This commit is contained in:
David Herrmann 2015-01-09 00:53:00 +01:00
parent 5ebbc3f32f
commit 7ce9812173

View File

@ -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);