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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user