[Bug 814] Check if m_low is not zero
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
NS_LOG_COMPONENT_DEFINE ("DcaTxop");
|
||||
|
||||
#undef NS_LOG_APPEND_CONTEXT
|
||||
#define NS_LOG_APPEND_CONTEXT std::clog << "[mac=" << m_low->GetAddress () << "] ";
|
||||
#define NS_LOG_APPEND_CONTEXT if (m_low != 0) {std::clog << "[mac=" << m_low->GetAddress () << "] ";}
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
NS_LOG_COMPONENT_DEFINE ("EdcaTxopN");
|
||||
|
||||
#undef NS_LOG_APPEND_CONTEXT
|
||||
#define NS_LOG_APPEND_CONTEXT std::clog << "[mac=" << m_low->GetAddress () << "] ";
|
||||
#define NS_LOG_APPEND_CONTEXT if (m_low != 0) {std::clog << "[mac=" << m_low->GetAddress () << "] ";}
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user