diff --git a/src/simple_dumbbell_topo.cc b/src/simple_dumbbell_topo.cc index 80e9fc86..a54e0c72 100644 --- a/src/simple_dumbbell_topo.cc +++ b/src/simple_dumbbell_topo.cc @@ -71,12 +71,11 @@ std::string delay_serialization = "1.9ms"; NetDeviceContainer* netDeviceToDropPacket = NULL; - // -------------------------------------------------- // // --- END OF SIMULATION CONFIGURATION PARAMETERS --- // // -------------------------------------------------- // -// Global Variables +// Global Vars Ptr sinker; int packetsDroppedInQueue = 0; @@ -164,9 +163,9 @@ void ExaminePacket(Ptr packet) packet->PeekHeader(tcpHeader); uint32_t payloadSize = packet->GetSize(); - // Extract the SEQ and ACK numbers - uint32_t seq = tcpHeader.GetSequenceNumber().GetValue(); - uint32_t ack = tcpHeader.GetAckNumber().GetValue(); + // Extract the SEQ and ACK numbers + uint32_t seq = tcpHeader.GetSequenceNumber().GetValue(); + uint32_t ack = tcpHeader.GetAckNumber().GetValue(); std::cout << "[TCP PACKET] [SEQ: " << seq << "] [ACK: " << ack << "] [Payload Length: " << payloadSize << "] PacketUid: " << packet->GetUid() << std::endl;