]> git.meshlink.io Git - catta/blobdiff - avahi-daemon/static-services.c
* make all flags parameters UINT32 when marshalling for DBUS
[catta] / avahi-daemon / static-services.c
index e459bbca051467616c2775cc9855f9f4cf4a6baf..09777cca847224808f06e21f021a7a8f6161a5d0 100644 (file)
@@ -221,7 +221,8 @@ static void add_static_service_group_to_server(StaticServiceGroup *g) {
         if (avahi_server_add_service_strlst(
                 avahi_server,
                 g->entry_group,
-                -1, s->protocol,
+                AVAHI_IF_UNSPEC, s->protocol,
+                0, 
                 g->chosen_name, s->type, 
                 s->domain_name, s->host_name, s->port,
                 s->txt_records) < 0) {