From 822e13a7dff514aad457ffbd6a070ba0449ae034 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Mon, 14 Apr 2008 10:28:42 -0700 Subject: [PATCH] align with the semantics of _PARAMS --- src/internet-node/ipv4-interface.cc | 2 +- src/internet-node/ipv4-l3-protocol.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/internet-node/ipv4-interface.cc b/src/internet-node/ipv4-interface.cc index aead13ad0..9d750f068 100644 --- a/src/internet-node/ipv4-interface.cc +++ b/src/internet-node/ipv4-interface.cc @@ -91,7 +91,7 @@ void Ipv4Interface::SetMetric (uint16_t metric) { NS_LOG_FUNCTION; - NS_LOG_PARAMS ("(" << metric << ")"); + NS_LOG_PARAMS (metric); m_metric = metric; } diff --git a/src/internet-node/ipv4-l3-protocol.cc b/src/internet-node/ipv4-l3-protocol.cc index 105995369..9401d7559 100644 --- a/src/internet-node/ipv4-l3-protocol.cc +++ b/src/internet-node/ipv4-l3-protocol.cc @@ -736,7 +736,7 @@ void Ipv4L3Protocol::SetMetric (uint32_t i, uint16_t metric) { NS_LOG_FUNCTION; - NS_LOG_PARAMS ("(" << i << ", " << metric << ")"); + NS_LOG_PARAMS (i << metric); Ptr interface = GetInterface (i); interface->SetMetric (metric); } @@ -745,7 +745,7 @@ uint16_t Ipv4L3Protocol::GetMetric (uint32_t i) const { NS_LOG_FUNCTION; - NS_LOG_PARAMS ("(" << i << ")"); + NS_LOG_PARAMS (i); Ptr interface = GetInterface (i); return interface->GetMetric (); }