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;
if (!strcmp(method, "query")) {
if (iface_v4)
- dns_send_question(iface_v4, question, type, 1);
+ dns_send_question(iface_v4, NULL, question, type, 1);
if (iface_v6)
- dns_send_question(iface_v6, question, type, 1);
+ dns_send_question(iface_v6, NULL, question, type, 1);
return UBUS_STATUS_OK;
} else if (!strcmp(method, "fetch")) {