mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-21 18:24:49 +00:00
Address (if it exists) was previously validated
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4269 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
0f4c227c1f
commit
1259398b68
|
@ -271,7 +271,7 @@ make_ip4_setting (shvarFile *ifcfg, GError **error)
|
|||
g_free (value);
|
||||
}
|
||||
|
||||
if (nm_ip4_address_get_address (addr) && nm_ip4_address_get_prefix (addr)) {
|
||||
if (addr) {
|
||||
if (!nm_setting_ip4_config_add_address (s_ip4, addr))
|
||||
PLUGIN_PRINT (IFCFG_PLUGIN_NAME, " warning: duplicate IP4 address");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue