Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Revision 169:336d499dc560, committed 2020-12-01
- 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();