Fixed crash when changing IPv6 addresses