1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Revert a patch to avoid na_ifaddrconf() when renewing an IA-NA address.

This patch prevented from updating the address lifetime.

Reported by:	garga and pfSense Bug #5955
This commit is contained in:
Hiroki Sato 2016-03-07 12:49:46 +00:00
parent 3aed8c1c10
commit 1df55d7f18
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=410518
2 changed files with 1 additions and 12 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= dhcp6
PORTVERSION= 20080615
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= net ipv6
MASTER_SITES= SF/wide-dhcpv6/wide-dhcpv6/wide-dhcpv6-${PORTVERSION}
DISTNAME= wide-dhcpv6-${PORTVERSION}

View File

@ -1,11 +0,0 @@
--- addrconf.c.orig 2008-06-15 07:48:40 UTC
+++ addrconf.c
@@ -173,7 +173,7 @@ update_address(ia, addr, dhcpifp, ctlp,
sacreate ? "create" : "update",
in6addr2str(&addr->addr, 0), addr->pltime, addr->vltime);
- if (sa->addr.vltime != 0)
+ if (sa->addr.vltime != 0 && sacreate)
if (na_ifaddrconf(IFADDRCONF_ADD, sa) < 0)
return (-1);