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/dnshdr.cpp
- Revision:
- 33:714a0345e59b
- Parent:
- 15:6ca6778168b1
- Child:
- 35:93c39d260a83
diff -r 679654f2d023 -r 714a0345e59b udp/dns/dnshdr.cpp --- a/udp/dns/dnshdr.cpp Thu Aug 17 14:21:02 2017 +0000 +++ b/udp/dns/dnshdr.cpp Wed Aug 23 18:02:42 2017 +0000 @@ -51,7 +51,7 @@ uint8_t uflags = pHeader->uflags; DnsHdrIsReply = uflags & 0x80; DnsHdrIsAuthoritative = uflags & 0x04; - DnsHdrIsRecursiveQuery = uflags & 0x01;; + DnsHdrIsRecursiveQuery = uflags & 0x01; DnsHdrQdcount = NetToHost16(pHeader->qdcount); DnsHdrAncount = NetToHost16(pHeader->ancount);