From: Martin Xu Date: Thu, 25 Feb 2010 09:34:35 +0000 (+0800) Subject: Remove DHCP method setting from ethernet plugin X-Git-Tag: 2.0_alpha~2830 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb1bdb47c12aed54a805926a1eaea848b5f09bbc;p=framework%2Fconnectivity%2Fconnman.git Remove DHCP method setting from ethernet plugin 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. --- diff --git a/plugins/ethernet.c b/plugins/ethernet.c index c2a40b2..9a7b057 100644 --- 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); }