align with the semantics of _PARAMS

This commit is contained in:
Mathieu Lacage committed 2008-04-14 10:28:42 -07:00
1 parent a62f9d7771
commit 822e13a7df
2 files changed
+3 -3

No files matched your search

+1 -1
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;
}
+2 -2
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 ();
}