summaryrefslogtreecommitdiffstats
path: root/src/ipv6nd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-07-29 14:46:25 +0100
committerRoy Marples <roy@marples.name>2019-07-29 14:46:25 +0100
commit67af6d1d5837624e4a078bdfca866d8539702221 (patch)
tree19d697de5c1f404c33ab2b538ec39794abe438e6 /src/ipv6nd.c
parent03baa174663bda0a9b33ccea4725893548941032 (diff)
downloaddhcpcd-67af6d1d5837624e4a078bdfca866d8539702221.tar.xz
BSD: Warn when kernel does not support sending ND6 advertisements
Diffstat (limited to 'src/ipv6nd.c')
-rw-r--r--src/ipv6nd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipv6nd.c b/src/ipv6nd.c
index 82135970..bb8cb4dc 100644
--- a/src/ipv6nd.c
+++ b/src/ipv6nd.c
@@ -521,6 +521,8 @@ ipv6nd_advertise(struct ipv6_addr *ia)
eloop_timeout_delete(ctx->eloop, ipv6nd_sendadvertisement, iaf);
ipv6nd_sendadvertisement(iaf);
}
+#elif !defined(SMALL)
+#warning kernel does not support userland sending ND6 advertisements
#endif /* ND6_ADVERTISE */
static void