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: eth/mac.cpp
- Revision:
- 54:84ef2b29cf7e
- Parent:
- 49:1a6336f2b3f9
diff -r 77f8a49adf89 -r 84ef2b29cf7e eth/mac.cpp --- a/eth/mac.cpp Thu Nov 09 15:44:29 2017 +0000 +++ b/eth/mac.cpp Mon Nov 13 08:06:55 2017 +0000 @@ -39,7 +39,7 @@ } int MacHttp(char* mac) { - return HttpReplyAddF("%02x:%02x:%02x:%02x:%02x:%02x", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]); + return HttpAddF("%02x:%02x:%02x:%02x:%02x:%02x", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]); } int MacAccept(char* p)