projects
/
project
/
mdnsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't call dns_reply_a from service_reply
[project/mdnsd.git]
/
dns.c
diff --git
a/dns.c
b/dns.c
index
7ca705e
..
aac1de1
100644
(file)
--- a/
dns.c
+++ b/
dns.c
@@
-360,8
+360,10
@@
parse_question(struct interface *iface, char *name, struct dns_question *q)
switch (q->type) {
case TYPE_ANY:
- if (!strcmp(name, mdns_hostname_local))
+ if (!strcmp(name, mdns_hostname_local))
{
service_reply(iface, NULL, announce_ttl);
+ dns_reply_a(iface, announce_ttl);
+ }
break;
case TYPE_PTR: