summaryrefslogtreecommitdiffstats
path: root/debian/patches/0009-Fix-renewal-of-IA-NA.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0009-Fix-renewal-of-IA-NA.patch')
-rw-r--r--debian/patches/0009-Fix-renewal-of-IA-NA.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/0009-Fix-renewal-of-IA-NA.patch b/debian/patches/0009-Fix-renewal-of-IA-NA.patch
new file mode 100644
index 0000000..131c0b5
--- /dev/null
+++ b/debian/patches/0009-Fix-renewal-of-IA-NA.patch
@@ -0,0 +1,23 @@
+From: Jeremie Corbier <jeremie@famille-corbier.net>
+Date: Tue, 2 Dec 2014 11:04:59 +0100
+Subject: Fix renewal of IA NA
+
+Submitted-by: Vegard Engen <vegard@engen.priv.no>
+Signed-off-by: Jeremie Corbier <jeremie@famille-corbier.net>
+---
+ 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);
+