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:
217393b
)
Remove DHCP method setting from ethernet plugin
author
Martin Xu
<martin.xu@intel.com>
Thu, 25 Feb 2010 09:34:35 +0000
(17:34 +0800)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 3 Mar 2010 14:41:47 +0000
(06:41 -0800)
The method has been set when creating service.
And setting DHCP method after creating wired service causes the recorded
method gotten from entry file be replaced by DHCP method, consequently,
the static IP of wired service can not be remembered.
plugins/ethernet.c
patch
|
blob
|
history
diff --git
a/plugins/ethernet.c
b/plugins/ethernet.c
index
c2a40b2
..
9a7b057
100644
(file)
--- a/
plugins/ethernet.c
+++ b/
plugins/ethernet.c
@@
-106,8
+106,6
@@
static void add_network(struct connman_device *device)
connman_network_set_group(network, "cable");
- connman_network_set_method(network, CONNMAN_IPCONFIG_METHOD_DHCP);
-
connman_network_set_connected(network, TRUE);
}