projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c548a92
)
resolver: Allow update to domain if server is not set
author
Jukka Rissanen
<jukka.rissanen@linux.intel.com>
Mon, 14 May 2012 10:33:45 +0000
(13:33 +0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Tue, 15 May 2012 12:47:44 +0000
(15:47 +0300)
src/resolver.c
patch
|
blob
|
history
diff --git
a/src/resolver.c
b/src/resolver.c
index
d273e3a
..
f27f22c
100644
(file)
--- a/
src/resolver.c
+++ b/
src/resolver.c
@@
-354,7
+354,7
@@
int connman_resolver_append_lifetime(const char *interface, const char *domain,
DBG("interface %s domain %s server %s lifetime %d",
interface, domain, server, lifetime);
- if (server == NULL)
+ if (server == NULL
&& domain == NULL
)
return -EINVAL;
for (list = entry_list; list; list = list->next) {