diff options
| author | Roy Marples <roy@marples.name> | 2016-08-16 16:27:02 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2016-08-16 16:27:02 +0000 |
| commit | 0d95c0162cd5a69db8a36bae6bd9a90810328667 (patch) | |
| tree | 06c3aee53abe12ea65c7ef05844bd4383aa93786 /if-bsd.c | |
| parent | 10508b2949132ef02aca218c28967d69e0a1e5c6 (diff) | |
| download | dhcpcd-0d95c0162cd5a69db8a36bae6bd9a90810328667.tar.xz | |
Note that the IPv6 address lifetime issue is now fixed in NetBSD.
Diffstat (limited to 'if-bsd.c')
| -rw-r--r-- | if-bsd.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -967,11 +967,13 @@ if_address6(unsigned char cmd, const struct ipv6_addr *ia) * This issue is discussed on the NetBSD mailing lists here: * http://mail-index.netbsd.org/tech-net/2016/08/05/msg006044.html * - * NOT fixed in NetBSD - patch under development + * Fixed in NetBSD-7.99.36 * NOT fixed in FreeBSD - bug 195197 * Fixed in OpenBSD-5.9 */ -#if !(defined(OpenBSD) && OpenBSD >= 201605) + +#if !((defined(__NetBSD_Version__) && __NetBSD_Version__ >= 799003600) || \ + (defined(OpenBSD) && OpenBSD >= 201605)) if (cmd == RTM_NEWADDR && !(ia->flags & IPV6_AF_ADDED)) { ifa.ifra_lifetime.ia6t_vltime = ND6_INFINITE_LIFETIME; ifa.ifra_lifetime.ia6t_pltime = ND6_INFINITE_LIFETIME; |
