diff --git a/mesh/node.c b/mesh/node.c
index e23f32d..e1f0bcf 100644
--- a/mesh/node.c
+++ b/mesh/node.c
l_dbus_object_remove_interface(dbus_get_bus(), node->obj_path,
MESH_MANAGEMENT_INTERFACE);
+
+ l_dbus_object_remove_interface(dbus_get_bus(), node->obj_path,
+ L_DBUS_INTERFACE_PROPERTIES);
+
l_free(node->obj_path);
node->obj_path = NULL;
}
MESH_MANAGEMENT_INTERFACE, node))
return false;
+ if (!l_dbus_object_add_interface(dbus_get_bus(), node->obj_path,
+ L_DBUS_INTERFACE_PROPERTIES, NULL))
+ return false;
+
return true;
}