mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 05:50:08 +01:00
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:
parent
fbf4a3bca2
commit
3738ba5503
2 changed files with 8 additions and 6 deletions
|
|
@ -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>
|
||||
|
||||
* README: update
|
||||
|
|
|
|||
|
|
@ -554,12 +554,8 @@ found:
|
|||
fclose (f);
|
||||
}
|
||||
if (!buf)
|
||||
{
|
||||
nm_warning ("Network configuration for device '%s' was invalid (non-DHCP configuration, "
|
||||
"but no gateway specified. Will use DHCP instead.", nm_device_get_iface (dev));
|
||||
error = TRUE;
|
||||
goto out;
|
||||
}
|
||||
nm_info ("Network configuration for device '%s' does not specify a gateway but is "
|
||||
"statically configured (non-DHCP).", nm_device_get_iface (dev));
|
||||
|
||||
set_ip4_config_from_resolv_conf (SYSCONFDIR"/resolv.conf", sys_data->config);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue