aodv: Move NS_LOG_APPEND_CONTEXT statement after includes
This commit is contained in:
@@ -13,11 +13,6 @@
|
||||
* Authors: Elena Buchatskaia <borovkovaes@iitp.ru>
|
||||
* Pavel Boyko <boyko@iitp.ru>
|
||||
*/
|
||||
#define NS_LOG_APPEND_CONTEXT \
|
||||
if (m_ipv4) \
|
||||
{ \
|
||||
std::clog << "[node " << m_ipv4->GetObject<Node>()->GetId() << "] "; \
|
||||
}
|
||||
|
||||
#include "aodv-routing-protocol.h"
|
||||
|
||||
@@ -38,6 +33,13 @@
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
|
||||
#undef NS_LOG_APPEND_CONTEXT
|
||||
#define NS_LOG_APPEND_CONTEXT \
|
||||
if (m_ipv4) \
|
||||
{ \
|
||||
std::clog << "[node " << m_ipv4->GetObject<Node>()->GetId() << "] "; \
|
||||
}
|
||||
|
||||
namespace ns3
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user