From: Pasi Sjöholm <pasi.sjoh...@jollamobile.com> If interface gets assigned a new ipv6 address during renew/rebind we need to make sure that the old ipv6 address is removed from the interface and not left in place. --- src/dhcpv6.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/dhcpv6.c b/src/dhcpv6.c index a5a7621..5f8029f 100644 --- a/src/dhcpv6.c +++ b/src/dhcpv6.c @@ -631,6 +631,7 @@ static void set_address(int ifindex, struct connman_ipconfig *ipconfig, /* Is this prefix part of the subnet we are suppose to use? */ prefix_len = check_ipv6_addr_prefix(prefixes, address); + __connman_ipconfig_address_remove(ipconfig); __connman_ipconfig_set_local(ipconfig, address); __connman_ipconfig_set_prefixlen(ipconfig, prefix_len); -- 1.9.1 _______________________________________________ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman