mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 17:30:17 +01: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue