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
Diff: udp/dns/dnsserver.c
- Revision:
- 128:79052cb4a41c
- Parent:
- 61:aad055f1b0d1
- Child:
- 160:6a1d1d368f80
--- a/udp/dns/dnsserver.c Fri Mar 08 18:43:56 2019 +0000 +++ b/udp/dns/dnsserver.c Mon Mar 11 16:42:45 2019 +0000 @@ -1,16 +1,17 @@ #include <stdbool.h> #include <string.h> -#include "dnshdr.h" -#include "dnsname.h" -#include "net.h" -#include "action.h" -#include "dns.h" -#include "log.h" -#include "dhcp.h" -#include "slaac.h" -#include "ip4.h" -#include "ip6.h" +#include "dns.h" +#include "dnshdr.h" +#include "dnsname.h" +#include "dnslabel.h" +#include "net.h" +#include "action.h" +#include "log.h" +#include "dhcp.h" +#include "slaac.h" +#include "ip4.h" +#include "ip6.h" bool DnsServerTrace = false; @@ -164,8 +165,8 @@ int DnsServerHandleQuery(void (*traceback)(void), int dnsProtocol, void* pPacketTx, int *pSizeTx) //Received an mdns or llmnr query on port 5353 or 5355 { - myFullName4Length = DnsMakeFullNameFromName(dnsProtocol, NetName4, sizeof(myFullName4), myFullName4); - myFullName6Length = DnsMakeFullNameFromName(dnsProtocol, NetName6, sizeof(myFullName6), myFullName6); + myFullName4Length = DnsLabelMakeFullNameFromName(dnsProtocol, NetName4, sizeof(myFullName4), myFullName4); + myFullName6Length = DnsLabelMakeFullNameFromName(dnsProtocol, NetName6, sizeof(myFullName6), myFullName6); if (readQuestions()) return DO_NOTHING; if (!answerCount) return DO_NOTHING;