aodv: Move NS_LOG_APPEND_CONTEXT statement after includes

This commit is contained in:
Jared Ivey
2025-05-20 22:59:12 +02:00
committed by Jared Ivey
parent d8ec5caa60
commit ddd3db65e2

View File

@@ -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
{