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: ip4/ip4addr.cpp
- Revision:
- 54:84ef2b29cf7e
- Parent:
- 52:fbc5a46b5e16
- Child:
- 57:e0fb648acf48
diff -r 77f8a49adf89 -r 84ef2b29cf7e ip4/ip4addr.cpp --- a/ip4/ip4addr.cpp Thu Nov 09 15:44:29 2017 +0000 +++ b/ip4/ip4addr.cpp Mon Nov 13 08:06:55 2017 +0000 @@ -28,7 +28,7 @@ int a1 = (ip & 0x00FF0000) >> 16; int a2 = (ip & 0x0000FF00) >> 8; int a3 = (ip & 0x000000FF); - return HttpReplyAddF("%d.%d.%d.%d", a3, a2, a1, a0); + return HttpAddF("%d.%d.%d.%d", a3, a2, a1, a0); } uint32_t Ip4AddressParse(char* text)