diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-07-31 11:16:13 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-07-31 13:28:23 +0200 |
commit | a87d2ed1ce1e7d5810bb2a5f8ebfd3719543d109 (patch) | |
tree | bb93c115bc31a2802a235698ea2b559a46dc360b /src/bus-proxyd | |
parent | e3c57a86f6ede89651e600d168389be4a78c1b33 (diff) |
bus-proxy: don't filter directed signals
NameAcquired and NameLost are directed signals. Never ever filter them on
dbus1. On dbus1, filters *exclusively* apply to broadcasts! Hence, we
must always forward directed signals unconditionally!
Diffstat (limited to 'src/bus-proxyd')
-rw-r--r-- | src/bus-proxyd/synthesize.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/bus-proxyd/synthesize.c b/src/bus-proxyd/synthesize.c index c26de9af6a..15d99103f6 100644 --- a/src/bus-proxyd/synthesize.c +++ b/src/bus-proxyd/synthesize.c @@ -222,18 +222,5 @@ int synthesize_name_acquired(Proxy *p, sd_bus *a, sd_bus *b, sd_bus_message *m) if (r < 0) return r; - /* - * Make sure to only forward NameLost/NameAcquired messages if they - * match an installed MATCH rule of the local client. We really must - * not send messages the client doesn't expect. - */ - - r = bus_match_run(b, &b->match_callbacks, n); - if (r >= 0 && p->message_matched) - r = sd_bus_send(b, n, NULL); - - p->message_matched = false; - p->synthetic_matched = false; - - return r; + return sd_bus_send(b, n, NULL); } |