diff options
| author | Roy Marples <roy@marples.name> | 2017-12-07 21:12:43 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2017-12-07 21:12:43 +0000 |
| commit | cfc0bac3a296983e9fdc9ef4a976fe3e19d66e65 (patch) | |
| tree | db6d923faa426045607bf16922f0956796a0e002 /src/ipv6nd.c | |
| parent | 144023797820256f37f85379830b49bf2115dc8c (diff) | |
| download | dhcpcd-cfc0bac3a296983e9fdc9ef4a976fe3e19d66e65.tar.xz | |
bsd: set sa_len
Diffstat (limited to 'src/ipv6nd.c')
| -rw-r--r-- | src/ipv6nd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipv6nd.c b/src/ipv6nd.c index a4bae15b..a7a2902a 100644 --- a/src/ipv6nd.c +++ b/src/ipv6nd.c @@ -286,7 +286,7 @@ ipv6nd_sendrsprobe(void *arg) memset(&dst, 0, sizeof(dst)); dst.sin6_family = AF_INET6; -#ifdef SIN6_LEN +#ifdef HAVE_SA_LEN dst.sin6_len = sizeof(dst); #endif dst.sin6_scope_id = ifp->index; |
