Merge pull request #1177 from zhaojuntao/IN6_IS_ADDR_MULTICAST
[dfs] add IN6_IS_ADDR_MULTICAST support
This commit is contained in:
commit
627a90c2d0
|
@ -27,4 +27,8 @@
|
||||||
|
|
||||||
#include <lwip/sockets.h>
|
#include <lwip/sockets.h>
|
||||||
|
|
||||||
|
#ifndef IN6_IS_ADDR_MULTICAST
|
||||||
|
#define IN6_IS_ADDR_MULTICAST(a) (((uint8_t *) (a))[0] == 0xff)
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue