Merge pull request #1177 from zhaojuntao/IN6_IS_ADDR_MULTICAST

[dfs] add IN6_IS_ADDR_MULTICAST support
This commit is contained in:
Bernard Xiong 2018-01-17 16:17:15 +08:00 committed by GitHub
commit 627a90c2d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

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