NetworkManager r4269 - trunk/system-settings/plugins/ifcfg-fedora
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r4269 - trunk/system-settings/plugins/ifcfg-fedora
- Date: Wed, 5 Nov 2008 19:06:07 +0000 (UTC)
Author: dcbw
Date: Wed Nov 5 19:06:06 2008
New Revision: 4269
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=4269&view=rev
Log:
Address (if it exists) was previously validated
Modified:
trunk/system-settings/plugins/ifcfg-fedora/reader.c
Modified: trunk/system-settings/plugins/ifcfg-fedora/reader.c
==============================================================================
--- trunk/system-settings/plugins/ifcfg-fedora/reader.c (original)
+++ trunk/system-settings/plugins/ifcfg-fedora/reader.c Wed Nov 5 19:06:06 2008
@@ -271,7 +271,7 @@
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");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]