mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
Fix compile when IPv6 is disabled
This commit is contained in:
parent
d857344aa8
commit
55e6bf7e3d
@ -294,7 +294,7 @@ typedef ip4_addr_t ip_addr_t;
|
|||||||
|
|
||||||
typedef ip6_addr_t ip_addr_t;
|
typedef ip6_addr_t ip_addr_t;
|
||||||
#define IPADDR6_INIT(a, b, c, d) { { a, b, c, d } IPADDR6_ZONE_INIT }
|
#define IPADDR6_INIT(a, b, c, d) { { a, b, c, d } IPADDR6_ZONE_INIT }
|
||||||
#define IPADDR6_INIT_HOST(a, b, c, d) { { PP_HTONL(a), PP_HTONL(b), PP_HTONL(c), PP_HTONL(d) } IP6ADDR_ZONE_INIT }
|
#define IPADDR6_INIT_HOST(a, b, c, d) { { PP_HTONL(a), PP_HTONL(b), PP_HTONL(c), PP_HTONL(d) } IPADDR6_ZONE_INIT }
|
||||||
#define IP_IS_V4_VAL(ipaddr) 0
|
#define IP_IS_V4_VAL(ipaddr) 0
|
||||||
#define IP_IS_V6_VAL(ipaddr) 1
|
#define IP_IS_V6_VAL(ipaddr) 1
|
||||||
#define IP_IS_V4(ipaddr) 0
|
#define IP_IS_V4(ipaddr) 0
|
||||||
|
Loading…
Reference in New Issue
Block a user