diff options
| author | Roy Marples <roy@marples.name> | 2019-04-24 11:25:15 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-04-24 11:25:15 +0000 |
| commit | 4b87bf8e0971bfdf372d6eeb3ee5e92d7d84690a (patch) | |
| tree | 3a3343c87e5e5a3fc4b1d1ded1e095126174c755 | |
| parent | 4d53b9d9bb2734b50c884978838b140a9266fa78 (diff) | |
| download | dhcpcd-4b87bf8e0971bfdf372d6eeb3ee5e92d7d84690a.tar.xz | |
sun: Fix compile as IN6ADDR_LINKLOCAL_ALLNODES_INIT isn't defined.
| -rw-r--r-- | src/ipv6.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -74,6 +74,17 @@ (((d)->s6_addr32[3] ^ (a)->s6_addr32[3]) & (m)->s6_addr32[3]) == 0 ) #endif +#ifndef IN6ADDR_LINKLOCAL_ALLNODES_INIT +#define IN6ADDR_LINKLOCAL_ALLNODES_INIT \ + {{{ 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 }}} +#endif +#ifndef IN6ADDR_LINKLOCAL_ALLROUTERS_INIT +#define IN6ADDR_LINKLOCAL_ALLROUTERS_INIT \ + {{{ 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02 }}} +#endif + /* * BSD kernels don't inform userland of DAD results. * See the discussion here: |
