Hi Jukka,
On Thu, Dec 09, 2010 at 01:11:51PM +0200, Jukka Rissanen wrote:
> ---
> src/ipconfig.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Patch applied, thanks.
Cheers,
Samuel.
> diff --git a/src/ipconfig.c b/src/ipconfig.c
> index a2a7bf2..9ba8486 100644
> --- a/src/ipconfig.c
> +++ b/src/ipconfig.c
> @@ -1202,7 +1202,7 @@ void connman_ipconfig_set_ops(struct connman_ipconfig
> *ipconfig,
> struct connman_ipconfig *connman_ipconfig_get_ipv6config(
> struct connman_ipconfig *ipconfig)
> {
> - if (ipconfig == NULL)
> + if (ipconfig == NULL || ipconfig->type != CONNMAN_IPCONFIG_TYPE_IPV6)
> return NULL;
>
> return ipconfig;
> --
> 1.7.0.4
>
> _______________________________________________
> connman mailing list
> [email protected]
> http://lists.connman.net/listinfo/connman
--
Intel Open Source Technology Centre
http://oss.intel.com/
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman