Hi Jukka,

On Tue, Feb 08, 2011 at 12:30:13PM +0200, Jukka Rissanen wrote:
> ---
>  src/service.c |   28 ++++++++++++++++++++++++++++
>  1 files changed, 28 insertions(+), 0 deletions(-)
> 
> diff --git a/src/service.c b/src/service.c
> index 89f7b4d..28a8f6a 100644
> --- a/src/service.c
> +++ b/src/service.c
> @@ -4129,18 +4129,46 @@ static void service_lower_down(struct 
> connman_ipconfig *ipconfig)
>  static void service_ip_bound(struct connman_ipconfig *ipconfig)
>  {
>       struct connman_service *service = connman_ipconfig_get_data(ipconfig);
> +     enum connman_ipconfig_method method = CONNMAN_IPCONFIG_METHOD_UNKNOWN;
> +     enum connman_ipconfig_type type = CONNMAN_IPCONFIG_TYPE_UNKNOWN;
>  
>       connman_info("%s ip bound", connman_ipconfig_get_ifname(ipconfig));
>  
> +     type = __connman_ipconfig_get_config_type(ipconfig);
> +     method = __connman_ipconfig_get_method(ipconfig);
> +
> +     DBG("service %p ipconfig %p type %d method %d", service, ipconfig,
> +                                                     type, method);
> +
> +     if (type == CONNMAN_IPCONFIG_TYPE_IPV6 &&
> +                     method == CONNMAN_IPCONFIG_METHOD_AUTO)
> +             __connman_service_indicate_state(service,
> +                                             CONNMAN_SERVICE_STATE_READY,
> +                                             CONNMAN_IPCONFIG_TYPE_IPV6);
> +
>       settings_changed(service);
Why do we need that if we already set the IPv6 state in
network.c:set_connected() ?

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to