[dfs] add IN6_IS_ADDR_MULTICAST support
in components/dfs/filesystems/net/netinet/in.h, add IN6_IS_ADDR_MULTICAST support
This commit is contained in:
parent
3ceadbe7ee
commit
938fa1170d
|
@ -27,4 +27,8 @@
|
|||
|
||||
#include <lwip/sockets.h>
|
||||
|
||||
#ifndef IN6_IS_ADDR_MULTICAST
|
||||
#define IN6_IS_ADDR_MULTICAST(a) (((uint8_t *) (a))[0] == 0xff)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue