diff options
| author | Roy Marples <roy@marples.name> | 2019-07-29 14:46:25 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-07-29 14:46:25 +0100 |
| commit | 67af6d1d5837624e4a078bdfca866d8539702221 (patch) | |
| tree | 19d697de5c1f404c33ab2b538ec39794abe438e6 /src/ipv6nd.c | |
| parent | 03baa174663bda0a9b33ccea4725893548941032 (diff) | |
| download | dhcpcd-67af6d1d5837624e4a078bdfca866d8539702221.tar.xz | |
BSD: Warn when kernel does not support sending ND6 advertisements
Diffstat (limited to 'src/ipv6nd.c')
| -rw-r--r-- | src/ipv6nd.c | 2 |
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 |
