summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-connection.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-connection.c b/src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-connection.c
index 5d3428d6bf..b81a9eb919 100644
--- a/src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-connection.c
+++ b/src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-connection.c
@@ -389,6 +389,13 @@ set_property (GObject *object, guint prop_id,
static void
nm_ifcfg_connection_init (NMIfcfgConnection *connection)
{
+ NMIfcfgConnectionPrivate *priv = NM_IFCFG_CONNECTION_GET_PRIVATE (connection);
+
+ priv->file_wd = -1;
+ priv->keyfile_wd = -1;
+ priv->routefile_wd = -1;
+ priv->route6file_wd = -1;
+
g_signal_connect (connection, "notify::" NM_SETTINGS_CONNECTION_FILENAME,
G_CALLBACK (filename_changed), NULL);
}