mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 02:10:09 +01:00
2007-09-13 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting.c - (nm_setting_wired_new): set autonegotiate to TRUE by default git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2800 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
cf46bf9de4
commit
f361475095
2 changed files with 10 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2007-09-13 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* libnm-util/nm-setting.c
|
||||
- (nm_setting_wired_new): set autonegotiate to TRUE by default
|
||||
|
||||
2007-09-13 Tambet Ingo <tambet@gmail.com>
|
||||
|
||||
* autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
|
||||
|
|
|
|||
|
|
@ -493,14 +493,18 @@ NMSetting *
|
|||
nm_setting_wired_new (void)
|
||||
{
|
||||
NMSetting *setting;
|
||||
NMSettingWired *s_wired;
|
||||
|
||||
setting = (NMSetting *) g_slice_new0 (NMSettingWired);
|
||||
s_wired = g_slice_new0 (NMSettingWired);
|
||||
setting = (NMSetting *) s_wired;
|
||||
|
||||
setting->name = g_strdup ("802-3-ethernet");
|
||||
setting->verify_fn = setting_wired_verify;
|
||||
setting->hash_fn = setting_wired_hash;
|
||||
setting->destroy_fn = setting_wired_destroy;
|
||||
|
||||
s_wired->auto_negotiate = TRUE;
|
||||
|
||||
return setting;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue