Mercurial > hg > dhcpcd
changeset 5134:3b4dcb6c284c draft
linux: Remove warning when HAVE_IN6_ADDR_GEN_MODE_NONE isn't supported
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Thu, 09 Apr 2020 22:29:46 +0100 |
| parents | fe2c149bb04d |
| children | 29f6e6bb802e |
| files | src/if-linux.c |
| diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/if-linux.c Thu Apr 09 21:55:33 2020 +0100 +++ b/src/if-linux.c Thu Apr 09 22:29:46 2020 +0100 @@ -1907,6 +1907,7 @@ char buffer[32]; }; +#ifdef HAVE_IN6_ADDR_GEN_MODE_NONE static struct rtattr * add_attr_nest(struct nlmsghdr *n, unsigned short maxlen, unsigned short type) { @@ -1923,6 +1924,7 @@ nest->rta_len = (unsigned short)((char *)NLMSG_TAIL(n) - (char *)nest); } +#endif static int if_disable_autolinklocal(struct dhcpcd_ctx *ctx, unsigned int ifindex)
