/* CloseReport is called by a transfer agent to finalize the report and signal transfer is over.  */
void CloseReport(ReportHeader *agent, ReportStruct *packet)
/* CloseReport is called by a transfer agent to finalize the report and signal transfer is over.  */
void CloseReport(ReportHeader *agent, ReportStruct *packet)
{
	currpktid = packet->packetID;
        packet->packetID = -1;
        packet->packetLen = 0;
        ReportPacket( agent, packet );
        packet->packetID = currpktid;
    }
}