2008-08-01 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting-ip4-config.c libnm-util/nm-setting-ip4-config.h - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4 settings, and they don't necessarily use DHCP. * src/NetworkManagerPolicy.c src/nm-device.c system-settings/plugins/ifcfg-fedora/reader.c system-settings/plugins/ifcfg-suse/parser.c - Fixup for method changes git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3882 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -149,7 +149,7 @@ update_routing_and_dns (NMPolicy *policy, gboolean force_update)
|
||||
|
||||
/* Never set the default route through an IPv4LL-addressed device */
|
||||
s_ip4 = (NMSettingIP4Config *) nm_connection_get_setting (connection, NM_TYPE_SETTING_IP4_CONFIG);
|
||||
if (s_ip4 && !strcmp (s_ip4->method, NM_SETTING_IP4_CONFIG_METHOD_AUTOIP))
|
||||
if (s_ip4 && !strcmp (s_ip4->method, NM_SETTING_IP4_CONFIG_METHOD_LINK_LOCAL))
|
||||
continue;
|
||||
|
||||
/* Make sure at least one of this device's IP addresses has a gateway */
|
||||
|
Reference in New Issue
Block a user