X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=ubus.c;h=7b1c811c67fb4699778370f48ee37ef5b89029de;hb=26ce7dca8085d34e6c3910680da51695f3508eec;hp=ba89fdd7cb3b302c1e006b6aca35b5319cef3095;hpb=ce7e9e939dbf4e100bfece5a46b3ef17fd99d034;p=project%2Fmdnsd.git diff --git a/ubus.c b/ubus.c index ba89fdd..7b1c811 100644 --- a/ubus.c +++ b/ubus.c @@ -201,10 +201,10 @@ umdns_query(struct ubus_context *ctx, struct ubus_object *obj, 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")) {