[avahi] [PATCH 1/1] match all Avahi signals
Trent Lloyd
lathiat at bur.st
Thu Jul 9 06:21:39 PDT 2015
Thanks for the patch, I will test this out.
> On 26 Jun 2015, at 5:58 AM, Christian Hesse <list at eworm.de> wrote:
>
> From: Christian Hesse <mail at eworm.de>
>
> Avahi used to set matches that were too restrictive. This worked with
> legacy dbus, however.
>
> With kdbus libavahi-client breaks: The signals are not forwarded due to
> missing match. So match everything Avahi tells us.
>
> Signed-off-by: Christian Hesse <mail at eworm.de>
> ---
> avahi-client/client.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/avahi-client/client.c b/avahi-client/client.c
> index 70cc35d..7da180a 100644
> --- a/avahi-client/client.c
> +++ b/avahi-client/client.c
> @@ -533,9 +533,7 @@ AvahiClient *avahi_client_new(const AvahiPoll *poll_api, AvahiClientFlags flags,
> dbus_bus_add_match(
> client->bus,
> "type='signal', "
> - "interface='" AVAHI_DBUS_INTERFACE_SERVER "', "
> - "sender='" AVAHI_DBUS_NAME "', "
> - "path='" AVAHI_DBUS_PATH_SERVER "'",
> + "sender='" AVAHI_DBUS_NAME "'",
> &error);
>
> if (dbus_error_is_set(&error))
> --
> 2.4.4
>
> _______________________________________________
> avahi mailing list
> avahi at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/avahi
More information about the avahi
mailing list