[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:
MurphyZhao 2018-01-17 15:49:04 +08:00
parent 3ceadbe7ee
commit 938fa1170d
1 changed files with 4 additions and 0 deletions

View File

@ -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