summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-kernel.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-05-20 00:36:50 +0200
committerLennart Poettering <lennart@poettering.net>2013-05-20 10:13:38 +0200
commitf11e11e3446f7959c11a60eb0c9b53ed75ef9f42 (patch)
tree24a0fe412375701b8c286bca8f9719d604656b6f /src/libsystemd-bus/bus-kernel.c
parent86312ab8de59c1066d6d2b456f3a9106ce3e0991 (diff)
bus: add test for bloom filter prefix match
Diffstat (limited to 'src/libsystemd-bus/bus-kernel.c')
-rw-r--r--src/libsystemd-bus/bus-kernel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-kernel.c b/src/libsystemd-bus/bus-kernel.c
index 33c25a4fd9..19d274b662 100644
--- a/src/libsystemd-bus/bus-kernel.c
+++ b/src/libsystemd-bus/bus-kernel.c
@@ -141,6 +141,7 @@ static int bus_message_setup_bloom(sd_bus_message *m, void *bloom) {
bloom_add_pair(bloom, "member", m->member);
if (m->path) {
bloom_add_pair(bloom, "path", m->path);
+ bloom_add_pair(bloom, "path-slash-prefix", m->path);
bloom_add_prefixes(bloom, "path-slash-prefix", m->path, '/');
}