just keep it as a compile warning.
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;
}
const char *sfrom;
int nd_fd;
-#ifdef IPV6_POLLADDRFLAG
- uint8_t polladdr_warned;
-#endif
struct ra_head *ra_routers;
struct rt6_head *routes;