From: Jeremie Corbier Date: Tue, 2 Dec 2014 11:04:59 +0100 Subject: Fix renewal of IA NA Submitted-by: Vegard Engen Signed-off-by: Jeremie Corbier --- addrconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addrconf.c b/addrconf.c index 98d03e5..47f1738 100644 --- a/addrconf.c +++ b/addrconf.c @@ -173,7 +173,7 @@ update_address(ia, addr, dhcpifp, ctlp, callback) 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);