Skip to content
Snippets Groups Projects
Commit 2c674771 authored by Valerio Pastore's avatar Valerio Pastore
Browse files

code cleaning

parent dad949f7
No related branches found
No related tags found
No related merge requests found
......@@ -158,11 +158,11 @@ int AstriMaProcessor::deliverPacket() {
if (packetsFlags[flagKey]) {
PacketLib::BasePacketStructure *previous =
&packet->getPacketStructure();
packet->updateStructure(*packetStructuresMap[flagKey]);
packet->updatePacketStructure(*packetStructuresMap[flagKey]);
//std::string key = addPrefixToKey(flagKey); // UNcomment if you want to dispatch packets based on type_subype
//provider->write(packet,key); // UNcomment if you want to dispatch packets based on type_subype
res = provider->write(*packet); // comment if you want to dispatch packets based on type_subype
packet->updateStructure(*previous);
packet->updatePacketStructure(*previous);
}
} catch (std::out_of_range &ex) {
printLog(std::cerr, "Packet type_subtype not recognized: " + flagKey);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment