Skip to content
Snippets Groups Projects
Commit f57e65bd authored by Andrea Zoli's avatar Andrea Zoli
Browse files

Fix packet name xml loading.

parent 2695ac1a
No related branches found
No related tags found
No related merge requests found
...@@ -325,8 +325,8 @@ std::string XmlConfig::convert(const std::string& filename) ...@@ -325,8 +325,8 @@ std::string XmlConfig::convert(const std::string& filename)
#ifdef DEBUG #ifdef DEBUG
cout << "Writing " << packetFilename << " .." << endl; cout << "Writing " << packetFilename << " .." << endl;
#endif #endif
pfs << "-- name of packet" << endl; pfs << "-- name of packet - " << packet.attribute("description").value() << endl;
pfs << packet.attribute("description").value() << endl; pfs << packet.attribute("name").value() << endl;
pfs << "[PacketHeader]" << endl; pfs << "[PacketHeader]" << endl;
pfs << "-- file that contains the description of the header" << endl; pfs << "-- file that contains the description of the header" << endl;
pfs << headerFilename << endl; pfs << headerFilename << endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment