This fixes static IP setting on Ethernet when using flimflam.
The main fix here is to use the ipconfig_static_path instead of ipconfig->device_path when setting the parameters. Also added some logging and cleaned up error messages. Note that this only fixes static IP setting when flimflam is enabled: this code doesn't properly talk to shill for that operation because it still tries to create IPConfigs, which shill doesn't implement. BUG=chromium-os:29050 TEST=Ran on device, configured ethernet for static IP, and verified that it showed up in the flimflam profile. Review URL: https://chromiumcodereview.appspot.com/10412026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138233 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment