From: Roy Marples Date: Tue, 14 Oct 2014 11:30:52 +0000 (+0000) Subject: Remove the IPv6 address poll warning from running dhcpcd, X-Git-Tag: v6.5.1~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ca438da1b67f5195899d01d9ba04483515d25d9;p=thirdparty%2Fdhcpcd.git Remove the IPv6 address poll warning from running dhcpcd, just keep it as a compile warning. --- diff --git a/ipv6.c b/ipv6.c index 6a8afcda..62f5b682 100644 --- a/ipv6.c +++ b/ipv6.c @@ -149,16 +149,6 @@ ipv6_init(struct dhcpcd_ctx *dhcpcd_ctx) ctx->nd_fd = -1; ctx->dhcp_fd = -1; -#ifdef IPV6_POLLADDRFLAG - if (!ctx->polladdr_warned) { - syslog(LOG_WARNING, - "kernel does not report IPv6 address flag changes"); - syslog(LOG_WARNING, - "polling tentative address flags periodically instead"); - ctx->polladdr_warned = 1; - } -#endif - dhcpcd_ctx->ipv6 = ctx; return ctx; } diff --git a/ipv6.h b/ipv6.h index 6d74d5a9..0d1025b0 100644 --- a/ipv6.h +++ b/ipv6.h @@ -159,9 +159,6 @@ struct ipv6_ctx { const char *sfrom; int nd_fd; -#ifdef IPV6_POLLADDRFLAG - uint8_t polladdr_warned; -#endif struct ra_head *ra_routers; struct rt6_head *routes;