src/devices/wifi/nqsta-wifi-mac.cc
changeset 4003 49a08376f196
parent 3921 ee1f01c019f4
child 4079 210d64d11998
--- a/src/devices/wifi/nqsta-wifi-mac.cc	Wed Dec 10 01:34:04 2008 -0800
+++ b/src/devices/wifi/nqsta-wifi-mac.cc	Wed Dec 10 01:47:59 2008 -0800
@@ -36,6 +36,9 @@
 
 NS_LOG_COMPONENT_DEFINE ("NqstaWifiMac");
 
+#undef NS_LOG_APPEND_CONTEXT
+#define NS_LOG_APPEND_CONTEXT if (m_low != 0) {std::clog << "[mac=" << m_low->GetAddress () << "] ";}
+
 /*
  * The state machine for this NQSTA is:
  --------------                                          -----------