projects
/
profile
/
ivi
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b44e718
)
ipconfig: Return a valid IPv6 configuration
author
Jukka Rissanen
<jukka.rissanen@nokia.com>
Thu, 9 Dec 2010 11:11:51 +0000
(13:11 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Tue, 14 Dec 2010 17:59:22 +0000
(18:59 +0100)
src/ipconfig.c
patch
|
blob
|
history
diff --git
a/src/ipconfig.c
b/src/ipconfig.c
index
a2a7bf2
..
9ba8486
100644
(file)
--- 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;