File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 2323#include < lwip/netdb.h>
2424#include < errno.h>
2525
26- #define IN6_IS_ADDR_V4MAPPED (a ) ((((__const uint32_t *)(a))[0 ] == 0 ) && (((__const uint32_t *)(a))[1 ] == 0 ) && (((__const uint32_t *)(a))[2 ] == htonl(0xffff )))
26+ // It is already defined in IDF as:
27+ // #define IN6_IS_ADDR_V4MAPPED(a) ip6_addr_isipv4mappedipv6((ip6_addr_t*)(a))
28+ // #define ip6_addr_isipv4mappedipv6(ip6addr) (((ip6addr)->addr[0] == 0) && ((ip6addr)->addr[1] == 0) && (((ip6addr)->addr[2]) == PP_HTONL(0x0000FFFFUL)))
29+ // Keeping as a memory of the change.
30+ // #define _IN6_IS_ADDR_V4MAPPED(a) ((((__const uint32_t *)(a))[0] == 0) && (((__const uint32_t *)(a))[1] == 0) && (((__const uint32_t *)(a))[2] == htonl(0xffff)))
2731
2832#define WIFI_CLIENT_DEF_CONN_TIMEOUT_MS (3000 )
2933#define WIFI_CLIENT_MAX_WRITE_RETRY (10 )
You can’t perform that action at this time.
0 commit comments