summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system-settings/plugins/ifcfg-rh/reader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/system-settings/plugins/ifcfg-rh/reader.c b/system-settings/plugins/ifcfg-rh/reader.c
index c610159226..9a217b6fa6 100644
--- a/system-settings/plugins/ifcfg-rh/reader.c
+++ b/system-settings/plugins/ifcfg-rh/reader.c
@@ -1337,8 +1337,8 @@ connection_from_file (const char *filename,
/* We don't write connections yet */
if (connection) {
s_con = (NMSettingConnection *) nm_connection_get_setting (connection, NM_TYPE_SETTING_CONNECTION);
-// if (s_con)
-// g_object_set (s_con, NM_SETTING_CONNECTION_READ_ONLY, TRUE, NULL);
+ if (s_con)
+ g_object_set (s_con, NM_SETTING_CONNECTION_READ_ONLY, TRUE, NULL);
}
/* Don't bother reading the connection fully if it's unmanaged */