From 287416006af1969c4a37c8e5741ce686310d8e23 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Mon, 6 Aug 2007 19:43:09 +0200 Subject: [PATCH] tweak ascii trace output --- src/devices/csma-cd/csma-cd-net-device.cc | 4 ++-- src/devices/point-to-point/point-to-point-net-device.cc | 2 +- src/node/queue.cc | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/devices/csma-cd/csma-cd-net-device.cc b/src/devices/csma-cd/csma-cd-net-device.cc index fe0216070..f73555ac3 100644 --- a/src/devices/csma-cd/csma-cd-net-device.cc +++ b/src/devices/csma-cd/csma-cd-net-device.cc @@ -46,10 +46,10 @@ CsmaCdTraceType::Print (std::ostream &os) const { switch (m_type) { case RX: - os << "mac rx"; + os << "dev-rx"; break; case DROP: - os << "mac drop"; + os << "dev-drop"; break; } } diff --git a/src/devices/point-to-point/point-to-point-net-device.cc b/src/devices/point-to-point/point-to-point-net-device.cc index af3eb21f6..69271bc6e 100644 --- a/src/devices/point-to-point/point-to-point-net-device.cc +++ b/src/devices/point-to-point/point-to-point-net-device.cc @@ -45,7 +45,7 @@ PointToPointTraceType::PointToPointTraceType () void PointToPointTraceType::Print (std::ostream &os) const { - os << "device rx"; + os << "dev-rx"; } uint16_t PointToPointTraceType::GetUid (void) diff --git a/src/node/queue.cc b/src/node/queue.cc index ef91aab5f..377779bc3 100644 --- a/src/node/queue.cc +++ b/src/node/queue.cc @@ -63,7 +63,7 @@ QueueTraceType::IsDrop (void) const void QueueTraceType::Print (std::ostream &os) const { - os << "queue="; + os << "queue-"; switch (m_type) { case QueueTraceType::ENQUEUE: os << "enqueue";