diff options
| author | MurphyZhao <[email protected]> | 2018-01-17 15:49:04 +0800 |
|---|---|---|
| committer | MurphyZhao <[email protected]> | 2018-01-17 15:50:34 +0800 |
| commit | 938fa1170d35b27157ef305087bd2b7d49d0b5a9 (patch) | |
| tree | 22d085598920640604a8dae5e7203345d652dd75 /components | |
| parent | 3ceadbe7ee00215457f68541bc29ebf56d06bca0 (diff) | |
[dfs] add IN6_IS_ADDR_MULTICAST support
in components/dfs/filesystems/net/netinet/in.h, add IN6_IS_ADDR_MULTICAST support
Diffstat (limited to 'components')
| -rw-r--r-- | components/dfs/filesystems/net/netinet/in.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/dfs/filesystems/net/netinet/in.h b/components/dfs/filesystems/net/netinet/in.h index 93469bc8e3..24fe8b5409 100644 --- a/components/dfs/filesystems/net/netinet/in.h +++ b/components/dfs/filesystems/net/netinet/in.h @@ -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 |
