src/devices/wifi/mac-high-nqap.cc
changeset 2156 754a843db672
parent 2154 4c0e94f7237b
child 2159 20f882e85b4a
--- a/src/devices/wifi/mac-high-nqap.cc	Wed Nov 21 11:11:05 2007 +0100
+++ b/src/devices/wifi/mac-high-nqap.cc	Wed Nov 21 11:11:27 2007 +0100
@@ -28,11 +28,13 @@
 #include "ns3/assert.h"
 #include "ns3/log.h"
 #include "ns3/simulator.h"
+#include "ns3/node.h"
 
 NS_LOG_COMPONENT_DEFINE ("MacHighNqap");
 
 #define TRACE(x) \
-NS_LOG_DEBUG(Simulator::Now () << " " << x);
+  NS_LOG_DEBUG(Simulator::Now () << " " << m_phy->GetDevice ()->GetNode ()->GetId () << ":" << \
+               m_phy->GetDevice ()->GetIfIndex () << " " << x);
 
 namespace ns3 {