summaryrefslogtreecommitdiffstats
path: root/src/if-bsd.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/if-bsd.c
parent03baa174663bda0a9b33ccea4725893548941032 (diff)
downloaddhcpcd-67af6d1d5837624e4a078bdfca866d8539702221.tar.xz
BSD: Warn when kernel does not support sending ND6 advertisements
Diffstat (limited to 'src/if-bsd.c')
-rw-r--r--src/if-bsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if-bsd.c b/src/if-bsd.c
index 6553e3b7..b6102180 100644
--- a/src/if-bsd.c
+++ b/src/if-bsd.c
@@ -543,7 +543,7 @@ if_route(unsigned char cmd, const struct rt *rt)
* try to encourage someone to fix that by logging a waring during compile.
*/
#if defined(__FreeBSD__) || defined(__OpenBSD__)
-#warning OS does not allow IPv6 address sharing
+#warning kernel does not allow IPv6 address sharing
if (!gateway_unspec || rt->rt_dest.sa_family!=AF_INET6)
#endif
rtm->rtm_addrs |= RTA_IFP;