mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-23 19:24:38 +00:00
2008-03-13 Tambet Ingo <tambet@gmail.com>
* system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): Adapt the changes of NMSettingIP4Config. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3453 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
2a9cfa049e
commit
24adb16ef6
|
@ -1,3 +1,8 @@
|
|||
2008-03-13 Tambet Ingo <tambet@gmail.com>
|
||||
|
||||
* system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
|
||||
Adapt the changes of NMSettingIP4Config.
|
||||
|
||||
2008-03-13 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/NetworkManagerUtils.c
|
||||
|
|
|
@ -240,7 +240,7 @@ update_default_routes (NMSystemConfigInterface *config, gboolean emit_updated)
|
|||
for (iter = priv->connections; iter; iter = iter->next) {
|
||||
connection = NM_CONNECTION (iter->data);
|
||||
ip4_setting = (NMSettingIP4Config *) nm_connection_get_setting (connection, NM_TYPE_SETTING_IP4_CONFIG);
|
||||
if (ip4_setting && ip4_setting->manual) {
|
||||
if (ip4_setting && !strcmp (ip4_setting->method, NM_SETTING_IP4_CONFIG_METHOD_MANUAL)) {
|
||||
got_manual = TRUE;
|
||||
break;
|
||||
}
|
||||
|
@ -256,7 +256,7 @@ update_default_routes (NMSystemConfigInterface *config, gboolean emit_updated)
|
|||
for (iter = priv->connections; iter; iter = iter->next) {
|
||||
connection = NM_CONNECTION (iter->data);
|
||||
ip4_setting = (NMSettingIP4Config *) nm_connection_get_setting (connection, NM_TYPE_SETTING_IP4_CONFIG);
|
||||
if (ip4_setting && ip4_setting->manual) {
|
||||
if (ip4_setting && !strcmp (ip4_setting->method, NM_SETTING_IP4_CONFIG_METHOD_MANUAL)) {
|
||||
GSList *address_iter;
|
||||
|
||||
for (address_iter = ip4_setting->addresses; address_iter; address_iter = address_iter->next) {
|
||||
|
|
Loading…
Reference in a new issue