File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 23
23
#include < lwip/netdb.h>
24
24
#include < errno.h>
25
25
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)))
27
31
28
32
#define WIFI_CLIENT_DEF_CONN_TIMEOUT_MS (3000 )
29
33
#define WIFI_CLIENT_MAX_WRITE_RETRY (10 )
You can’t perform that action at this time.
0 commit comments