Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

Files at this revision

API Documentation at this revision

Comitter:
andrewboyson
Date:
Tue Dec 01 12:56:34 2020 +0000
Parent:
168:59d286f933a0
Child:
170:96c637dc3f52
Commit message:
Modified MDNS response authoritative server bit to be true as per rfc6762 18.4.

Changed in this revision

udp/dns/dnsserver.c Show annotated file Show diff for this revision Revisions of this file
--- a/udp/dns/dnsserver.c	Thu Apr 09 08:59:28 2020 +0000
+++ b/udp/dns/dnsserver.c	Tue Dec 01 12:56:34 2020 +0000
@@ -208,6 +208,7 @@
     
     DnsHdrIsReply          = true;
     DnsHdrIsAuthoritative  = false;
+    if (dnsProtocol == DNS_PROTOCOL_MDNS) DnsHdrIsAuthoritative  = true; //See rfc6762 18.4
     DnsHdrIsRecursiveQuery = false;
     
     DnsHdrWrite();