]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Remove the IPv6 address poll warning from running dhcpcd,
authorRoy Marples <roy@marples.name>
Tue, 14 Oct 2014 11:30:52 +0000 (11:30 +0000)
committerRoy Marples <roy@marples.name>
Tue, 14 Oct 2014 11:30:52 +0000 (11:30 +0000)
just keep it as a compile warning.

ipv6.c
ipv6.h

diff --git a/ipv6.c b/ipv6.c
index 6a8afcdaa60503d3be16698ceb2f890ce784b481..62f5b682076c7ead873de656e003399a379f7788 100644 (file)
--- 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 6d74d5a956390bcf3043b0ccf8c5567a03db067f..0d1025b0312b8d6b1405bf6ccf704728ffb4ed2b 100644 (file)
--- 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;