X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-core%2Fconformance-test.c;h=1856fc56d8f48ca2b4022bb19341d52495b04da7;hb=fa8febc102b08ad9c5ff4732dfa5dbfda7361874;hp=37023721bbd868cfab903fc3e006dbacc49218b9;hpb=f1167112d926b189fe189599576e8588923f036c;p=catta diff --git a/avahi-core/conformance-test.c b/avahi-core/conformance-test.c index 3702372..1856fc5 100644 --- a/avahi-core/conformance-test.c +++ b/avahi-core/conformance-test.c @@ -37,6 +37,7 @@ #include "core.h" #include "log.h" +#include "lookup.h" static char *name = NULL; static AvahiSEntryGroup *group = NULL; @@ -73,7 +74,7 @@ static void create_service(const char *t) { else group = avahi_s_entry_group_new(avahi, entry_group_callback, NULL); - avahi_server_add_service(avahi, group, 0, AF_UNSPEC, name, "_http._tcp", NULL, NULL, 80, "foo", NULL); + avahi_server_add_service(avahi, group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, name, "_http._tcp", NULL, NULL, 80, "foo", NULL); avahi_s_entry_group_commit(group); try++;