dns: fix response to TYPE_PTR query master
authorRahul Thakur <rahul.thakur@iopsys.eu>
Thu, 8 Feb 2024 12:28:11 +0000 (17:58 +0530)
committerJohn Crispin <john@phrozen.org>
Wed, 11 Dec 2024 14:36:33 +0000 (15:36 +0100)
commit93458ac90911b84c7279070cd350405d203b702d
tree79da62fa5d4c050e842b54cbba6bf2d60a1a409f
parent68af31143b1fb36922befeb3eb332b3cb4911960
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>
dns.c