dsdv coding style changes

This commit is contained in:
Josh Pelkey
2011-05-13 14:53:34 -04:00
parent c6d80b36d6
commit 7d4447f145
+1 -1
View File
@@ -1139,7 +1139,7 @@ RoutingProtocol::GetSettlingTime (Ipv4Address address)
NS_LOG_DEBUG ("Route SettlingTime: " << mainrt.GetSettlingTime ().GetSeconds ()
<< " and LifeTime:" << mainrt.GetLifeTime ().GetSeconds ());
weightedTime = Time (m_weightedFactor * mainrt.GetSettlingTime ().GetSeconds() + (1.0 - m_weightedFactor)
* mainrt.GetLifeTime ().GetSeconds());
* mainrt.GetLifeTime ().GetSeconds());
NS_LOG_DEBUG ("Calculated weightedTime:" << weightedTime.GetSeconds ());
return weightedTime;
}