Bug 2148 - Ipv6Interface::SetUp doesn't re-create the Link-Local addresses

This commit is contained in:
Tommaso Pecorella
2015-07-24 08:59:57 +02:00
parent 1ad026d2bd
commit 9b2f73e9ae
2 changed files with 3 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ Bugs fixed
- Bug 2136 - The usage of tid in wifi and wave module shall be "if (tid > 7)" rather than "if (tid >= 7)"
- Bug 2132 - TCP RST packets were incorrectly formatted if no endpoints matched
- Bug 2138 - SimpleNetDevice could send overlapped packets
- Bug 2148 - Ipv6Interface::SetUp doesn't re-create the Link-Local addresses
- Bug 2153 - Incorrect power limits in wifi power control algorithms
- Bug 2154 - Incorrect power calculation in wifi power adaptation examples
- Bug 2156 - Duplicate packets when using two level aggregation

View File

@@ -121,7 +121,7 @@ void Ipv6Interface::DoSetup ()
{
icmpv6 = proto->GetObject <Icmpv6L4Protocol> ();
}
if (icmpv6)
if (icmpv6 && !m_ndCache)
{
m_ndCache = icmpv6->CreateCache (m_device, this);
}
@@ -179,6 +179,7 @@ void Ipv6Interface::SetUp ()
{
return;
}
DoSetup ();
m_ifup = true;
}