summaryrefslogtreecommitdiff
path: root/src/bus-proxyd/proxy.c
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-07-31 15:04:21 +0200
committerDaniel Mack <github@zonque.org>2015-07-31 15:04:21 +0200
commite87cedf350faad8c8b91ad8ba0db5ab6597123d2 (patch)
tree8b5e515663467d5effb8fec9d75d2d9d123ccc2e /src/bus-proxyd/proxy.c
parent832089af55fc739d5ea7cec8cb8212344c80aa74 (diff)
parenta87d2ed1ce1e7d5810bb2a5f8ebfd3719543d109 (diff)
Merge pull request #804 from dvdhrm/proxy-directed2
bus-proxy: make NameAcquired/Lost directed (v2)
Diffstat (limited to 'src/bus-proxyd/proxy.c')
-rw-r--r--src/bus-proxyd/proxy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bus-proxyd/proxy.c b/src/bus-proxyd/proxy.c
index b3ec048d03..df361ac400 100644
--- a/src/bus-proxyd/proxy.c
+++ b/src/bus-proxyd/proxy.c
@@ -653,6 +653,10 @@ static int process_hello(Proxy *p, sd_bus_message *m) {
if (r < 0)
return log_error_errno(r, "Failed to append sender to NameAcquired message: %m");
+ r = sd_bus_message_set_destination(n, p->destination_bus->unique_name);
+ if (r < 0)
+ return log_error_errno(r, "Failed to set destination for NameAcquired message: %m");
+
r = bus_seal_synthetic_message(p->local_bus, n);
if (r < 0)
return log_error_errno(r, "Failed to seal NameAcquired message: %m");