summaryrefslogtreecommitdiffstats
path: root/src/ipv6nd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2017-12-07 21:12:43 +0000
committerRoy Marples <roy@marples.name>2017-12-07 21:12:43 +0000
commitcfc0bac3a296983e9fdc9ef4a976fe3e19d66e65 (patch)
treedb6d923faa426045607bf16922f0956796a0e002 /src/ipv6nd.c
parent144023797820256f37f85379830b49bf2115dc8c (diff)
downloaddhcpcd-cfc0bac3a296983e9fdc9ef4a976fe3e19d66e65.tar.xz
bsd: set sa_len
Diffstat (limited to 'src/ipv6nd.c')
-rw-r--r--src/ipv6nd.c2
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;