diff options
| author | Rahul Thakur | 2024-02-08 12:28:11 +0000 |
|---|---|---|
| committer | John Crispin | 2024-12-11 14:36:33 +0000 |
| commit | 93458ac90911b84c7279070cd350405d203b702d (patch) | |
| tree | 79da62fa5d4c050e842b54cbba6bf2d60a1a409f | |
| parent | 68af31143b1fb36922befeb3eb332b3cb4911960 (diff) | |
| download | mdnsd-93458ac90911b84c7279070cd350405d203b702d.tar.gz | |
dns: fix response to TYPE_PTR query
In case of PTR query, sending response of TYPE_A is not needed.
As per the rfc 6763, the responder in this case should send
list of its services.
Signed-off-by: Rahul Thakur <rahul.thakur@iopsys.eu>
| -rw-r--r-- | dns.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -382,8 +382,6 @@ parse_question(struct interface *iface, struct sockaddr *from, char *name, struc case TYPE_PTR: if (!strcmp(name, C_DNS_SD)) { - dns_reply_a(iface, to, announce_ttl, NULL); - dns_reply_a_additional(iface, to, announce_ttl); service_announce_services(iface, to, announce_ttl); } else { if (name[0] == '_') { |