blob_buf_init(&b, 0);
avl_for_each_element(&services, s, avl) {
char *local;
- if (cache_service_is_host(s))
- continue;
+
snprintf(buffer, MAX_NAME_LEN, "%s", (const char *) s->avl.key);
local = strstr(buffer, ".local");
if (local)
struct blob_attr *msg)
{
struct blob_attr *tb[QUERY_MAX], *c;
- const char *question = "_services._dns-sd._udp.local";
+ const char *question = C_DNS_SD;
const char *ifname;
int type = TYPE_ANY;