[PATCH IPv6 v2 09/10] Check that ipconfig is valid IPv4 config before returning data
--- src/ipconfig.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/ipconfig.c b/src/ipconfig.c index cf164c0..fef98cc 100644 --- a/src/ipconfig.c +++ b/src/ipconfig.c @@ -1528,6 +1528,9 @@ void __connman_ipconfig_append_ipv4(struct connman_ipconfig *ipconfig, DBG(""); + if (ipconfig->type != CONNMAN_IPCONFIG_TYPE_IPV4) + return; + str = __connman_ipconfig_method2string(ipconfig->method); if (str == NULL) return; -- 1.7.0.4 ___ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman
Re: [PATCH IPv6 v2 09/10] Check that ipconfig is valid IPv4 config before returning data
Hi Jukka, On Thu, Dec 09, 2010 at 01:11:53PM +0200, Jukka Rissanen wrote: > --- > src/ipconfig.c |3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) Applied, thanks. Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/ ___ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman