projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9af48c
)
ipv4: Add domainame before moving to READY state
author
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 16 Feb 2011 23:17:03 +0000
(
00:17
+0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 16 Feb 2011 23:17:03 +0000
(
00:17
+0100)
src/ipv4.c
patch
|
blob
|
history
diff --git
a/src/ipv4.c
b/src/ipv4.c
index
57efdaf
..
e77b8ee
100644
(file)
--- a/
src/ipv4.c
+++ b/
src/ipv4.c
@@
-94,14
+94,15
@@
static int ipv4_probe(struct connman_element *element)
if (nameserver != NULL)
__connman_service_nameserver_append(service, nameserver);
+ if (domainname != NULL)
+ __connman_service_set_domainname(service, domainname);
+
connman_timeserver_append(timeserver);
err = __connman_connection_gateway_add(service, ipv4_gw, ipv6_gw, peer);
if (err < 0)
return err;
- __connman_service_set_domainname(service, domainname);
-
return 0;
}