Bug 1752 - RadvdInterface m_defaultLifeTime is set to milliseconds instead of seconds
authorTommaso Pecorella <tommaso.pecorella@unifi.it>
Mon, 12 Aug 2013 07:35:18 +0200
changeset 10128 f30c35341c5a
parent 10127 f4cee68de571
child 10129 5d1521685ad9
Bug 1752 - RadvdInterface m_defaultLifeTime is set to milliseconds instead of seconds
RELEASE_NOTES
src/applications/model/radvd-interface.cc
--- a/RELEASE_NOTES	Mon Aug 12 06:51:18 2013 +0200
+++ b/RELEASE_NOTES	Mon Aug 12 07:35:18 2013 +0200
@@ -69,6 +69,7 @@
 - Bug 1727 - Ping6 should use a proper source address
 - Bug 1731 - lte-phy-error-model passes unexpectedly
 - Bug 1742 - IPv6 HbH and Dst Extension Header size is not correctly calculated
+- Bug 1752 - RadvdInterface m_defaultLifeTime is set to milliseconds instead of seconds
 
 Known issues
 ------------
--- a/src/applications/model/radvd-interface.cc	Mon Aug 12 06:51:18 2013 +0200
+++ b/src/applications/model/radvd-interface.cc	Mon Aug 12 07:35:18 2013 +0200
@@ -41,7 +41,7 @@
   m_reachableTime = 0; /* means unspecified for the router */
   m_retransTimer = 0; /* means unspecified for the router */
   m_curHopLimit = 64;
-  m_defaultLifeTime = 3 * m_maxRtrAdvInterval;
+  m_defaultLifeTime = (3 * m_maxRtrAdvInterval) / 1000;
   m_defaultPreference = 1;
   m_sourceLLAddress = true;
   m_homeAgentFlag = false;