2005-11-22 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the gateway is not set, just print a little note. Configurations without gateways are valid. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1110 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2005-11-22 Robert Love <rml@novell.com>
|
||||||
|
|
||||||
|
* src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
|
||||||
|
gateway is not set, just print a little note. Configurations without
|
||||||
|
gateways are valid.
|
||||||
|
|
||||||
2005-11-22 Robert Love <rml@novell.com>
|
2005-11-22 Robert Love <rml@novell.com>
|
||||||
|
|
||||||
* README: update
|
* README: update
|
||||||
|
@@ -554,12 +554,8 @@ found:
|
|||||||
fclose (f);
|
fclose (f);
|
||||||
}
|
}
|
||||||
if (!buf)
|
if (!buf)
|
||||||
{
|
nm_info ("Network configuration for device '%s' does not specify a gateway but is "
|
||||||
nm_warning ("Network configuration for device '%s' was invalid (non-DHCP configuration, "
|
"statically configured (non-DHCP).", nm_device_get_iface (dev));
|
||||||
"but no gateway specified. Will use DHCP instead.", nm_device_get_iface (dev));
|
|
||||||
error = TRUE;
|
|
||||||
goto out;
|
|
||||||
}
|
|
||||||
|
|
||||||
set_ip4_config_from_resolv_conf (SYSCONFDIR"/resolv.conf", sys_data->config);
|
set_ip4_config_from_resolv_conf (SYSCONFDIR"/resolv.conf", sys_data->config);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user