Merge branch 'bugfix/fix_ipv6_judgement_error' into 'master'

fix(lwip): fix IN6_IS_ADDR_MULTICAST define error

See merge request sdk/ESP8266_RTOS_SDK!1564
This commit is contained in:
Dong Heng
2020-12-03 17:29:40 +08:00
2 changed files with 6 additions and 3 deletions

View File

@ -16,5 +16,10 @@
#define INET_H_
#include "lwip/inet.h"
#include "lwip/ip6_addr.h"
#ifndef IN6_IS_ADDR_MULTICAST
#define IN6_IS_ADDR_MULTICAST(a) ip6_addr_ismulticast((ip6_addr_t*)(a))
#endif
#endif /* INET_H_ */

View File

@ -15,8 +15,6 @@
#ifndef IN_H_
#define IN_H_
#include "lwip/inet.h"
#define IN6_IS_ADDR_MULTICAST(a) IN_MULTICAST(a)
#include "arpa/inet.h"
#endif /* IN_H_ */