summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libsystemd-bus/bus-objects.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-objects.c b/src/libsystemd-bus/bus-objects.c
index 8ffda2f95d..204e21d5d8 100644
--- a/src/libsystemd-bus/bus-objects.c
+++ b/src/libsystemd-bus/bus-objects.c
@@ -1284,6 +1284,10 @@ int bus_process_object(sd_bus *bus, sd_bus_message *m) {
if (hashmap_isempty(bus->nodes))
return 0;
+ /* Never respond to broadcast messages */
+ if (bus->bus_client && !m->destination)
+ return 0;
+
assert(m->path);
assert(m->member);