2008-10-10 Alexander Sack <asac@ubuntu.com>
authorAlexander Sack <asac@ubuntu.com>
Fri, 10 Oct 2008 11:25:53 +0000 (11:25 +0000)
committerDan Williams <dcbw@redhat.com>
Fri, 10 Oct 2008 11:25:53 +0000 (11:25 +0000)
commite6644a699a79157c7f10ba4bbbf715b3589a40fa
treef01235a41556958dc12c6ca1c1405904f9d84ee3
parentda167bbcb17558927e42cb5d3512f491966bb6e1
2008-10-10  Alexander Sack  <asac@ubuntu.com>

Implement managed mode. We bind devices configured in /etc/network/interfaces
to their connections by updating wired/wireless setting with the
mac address of the device.

* system-settings/plugins/ifupdown/plugin.c
- (get_net_address_for_udi): implement function to retrieve MAC
address of udi from hal in GByteArray format
- (bind_device_to_connection): bind mac address of device to
wired/wireless system connection
- (hal_device_added_cb): call bind_device_to_connection for
system connections with a matching interface.name
- (hal_device_added_cb): ensure that all code paths
properly free the "iface" string.

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4165 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
ChangeLog
system-settings/plugins/ifupdown/plugin.c