Bug 1823 - IPv6 fails to work on NOARP NetDevices (revert changeset 9760)
authorTommaso Pecorella <tommaso.pecorella@unifi.it>
Wed, 01 Jan 2014 17:37:32 +0100
changeset 10552 b8c9ece3ae63
parent 10551 e0fa0db84b6b
child 10553 8c347165bb56
Bug 1823 - IPv6 fails to work on NOARP NetDevices (revert changeset 9760)
src/internet/model/ipv6-interface.cc
--- a/src/internet/model/ipv6-interface.cc	Tue Dec 31 19:48:09 2013 +0100
+++ b/src/internet/model/ipv6-interface.cc	Wed Jan 01 17:37:32 2014 +0100
@@ -117,10 +117,7 @@
     }
 
   Ptr<Icmpv6L4Protocol> icmpv6 = m_node->GetObject<Ipv6L3Protocol> ()->GetIcmpv6 ();
-  if (m_device->NeedsArp ())
-    {
-      m_ndCache = icmpv6->CreateCache (m_device, this);
-    }
+  m_ndCache = icmpv6->CreateCache (m_device, this);
 }
 
 void Ipv6Interface::SetNode (Ptr<Node> node)