A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.
Dependents: oldheating gps motorhome heating
Diff: udp/dns/dnsquery.cpp
- Revision:
- 49:1a6336f2b3f9
- Parent:
- 47:73af5c0b0dc2
- Child:
- 57:e0fb648acf48
--- a/udp/dns/dnsquery.cpp Tue Oct 31 21:25:09 2017 +0000 +++ b/udp/dns/dnsquery.cpp Thu Nov 02 08:10:55 2017 +0000 @@ -3,8 +3,8 @@ #include "clock.h" #include "net.h" #include "action.h" -#include "ip4.h" -#include "ip6.h" +#include "ip4addr.h" +#include "ip6addr.h" #include "dhcp.h" #include "dns.h" #include "udp.h" @@ -97,7 +97,7 @@ { DnsQueryName[0] = 0; DnsQueryIp4 = 0; - Ip6Copy(DnsQueryIp6, ip); + Ip6AddressCopy(DnsQueryIp6, ip); DnsQueryIsBusy = true; started = elapsed; DnsQueryProtocol = protocol;