bus: do not dispatch incoming method calls that are broacasted to vtables

This commit is contained in:
Lennart Poettering 2013-12-10 23:11:10 +00:00
parent a82cafb97b
commit f820cf99c1
1 changed files with 4 additions and 0 deletions

View File

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