mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-07-02 19:08:57 +00:00
Render IPv6 addresses in lower case
RFC5952 section 4.3 requires text representations of IPv6 addresses to use lower case. Co-authored-by: Chee Bin Hoh <hohcheebin@gmail.com>
This commit is contained in:
parent
70a730df64
commit
c004029f77
|
@ -57,7 +57,7 @@
|
|||
/* used by IP6_ADDR_ANY(6) in ip6_addr.h */
|
||||
const ip_addr_t ip6_addr_any = IPADDR6_INIT(0ul, 0ul, 0ul, 0ul);
|
||||
|
||||
#define lwip_xchar(i) ((char)((i) < 10 ? '0' + (i) : 'A' + (i) - 10))
|
||||
#define lwip_xchar(i) ((char)((i) < 10 ? '0' + (i) : 'a' + (i) - 10))
|
||||
|
||||
/**
|
||||
* Check whether "cp" is a valid ascii representation
|
||||
|
|
Loading…
Reference in New Issue
Block a user