projects
/
framework
/
connectivity
/
connman.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipconfig: IPv4 gateway can be NULL
[framework/connectivity/connman.git]
/
src
/
ipconfig.c
diff --git
a/src/ipconfig.c
b/src/ipconfig.c
index
ca983b4
..
4cf4922
100644
(file)
--- a/
src/ipconfig.c
+++ b/
src/ipconfig.c
@@
-1068,7
+1068,7
@@
int __connman_ipconfig_gateway_add(struct connman_ipconfig *ipconfig)
DBG("");
- if (ipconfig->address == NULL
|| ipconfig->address->gateway == NULL
)
+ if (ipconfig->address == NULL)
return -EINVAL;
service = __connman_service_lookup_from_index(ipconfig->index);