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: ip6/ip6addr.cpp
- Revision:
- 54:84ef2b29cf7e
- Parent:
- 52:fbc5a46b5e16
- Child:
- 57:e0fb648acf48
--- a/ip6/ip6addr.cpp Thu Nov 09 15:44:29 2017 +0000 +++ b/ip6/ip6addr.cpp Mon Nov 13 08:06:55 2017 +0000 @@ -93,7 +93,7 @@ if (nibble || *pAdded) { - HttpReplyAddChar(nibble < 10 ? nibble + '0' : nibble - 10 + 'a'); + HttpAddChar(nibble < 10 ? nibble + '0' : nibble - 10 + 'a'); *pAdded = true; } } @@ -115,7 +115,7 @@ pIp += 2; if (pIp >= pIpE) break; - HttpReplyAddChar(':'); count++; + HttpAddChar(':'); count++; } return count; }