X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fmdnsd.git;a=blobdiff_plain;f=dns.h;fp=dns.h;h=f1f021203697a56689e9553e6684c8757ac0edba;hp=38ab41f85b8df4e05fed15af21bde1226140d6c0;hb=480d7bc74eba20c03875aa06c1c25dbdb98e0b12;hpb=a0403cde2d5684b63c0ea2c25a5414ede9ac99c3;ds=sidebyside diff --git a/dns.h b/dns.h index 38ab41f..f1f0212 100644 --- a/dns.h +++ b/dns.h @@ -73,7 +73,8 @@ struct interface; extern int cfg_proto; extern int cfg_no_subnet; -void dns_send_question(struct interface *iface, const char *question, int type, int multicast); +void dns_send_question(struct interface *iface, struct sockaddr *to, + const char *question, int type, int multicast); void dns_init_answer(void); void dns_add_answer(int type, const uint8_t *rdata, uint16_t rdlength, int ttl); void dns_send_answer(struct interface *iface, struct sockaddr *to, const char *answer);