align with the semantics of _PARAMS

This commit is contained in:
Mathieu Lacage
2008-04-14 10:28:42 -07:00
parent a62f9d7771
commit 822e13a7df
2 changed files with 3 additions and 3 deletions

View File

@@ -91,7 +91,7 @@ void
Ipv4Interface::SetMetric (uint16_t metric)
{
NS_LOG_FUNCTION;
NS_LOG_PARAMS ("(" << metric << ")");
NS_LOG_PARAMS (metric);
m_metric = metric;
}

View File

@@ -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<Ipv4Interface> 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<Ipv4Interface> interface = GetInterface (i);
return interface->GetMetric ();
}