View | Details | Raw Unified | Return to bug 757
Collapse All | Expand All

(-)a/src/internet-stack/ipv6-interface.cc (-7 / +5 lines)
 Lines 75-85    Link Here 
75
  {
75
  {
76
    return;
76
    return;
77
  }
77
  }
78
79
  if (!m_device->NeedsArp ())
80
  {
81
    return;
82
  }
83
  
78
  
84
  /* set up link-local address */
79
  /* set up link-local address */
85
  if (!DynamicCast<LoopbackNetDevice> (m_device)) /* no autoconf for ip6-localhost */
80
  if (!DynamicCast<LoopbackNetDevice> (m_device)) /* no autoconf for ip6-localhost */
 Lines 97-104    Link Here 
97
    }
92
    }
98
  }
93
  }
99
94
100
  Ptr<Icmpv6L4Protocol> icmpv6 = m_node->GetObject<Ipv6L3Protocol> ()->GetIcmpv6 ();
95
  if (m_device->NeedsArp ())
101
  m_ndCache = icmpv6->CreateCache (m_device, this);
96
  {
97
  	Ptr<Icmpv6L4Protocol> icmpv6 = m_node->GetObject<Ipv6L3Protocol> ()->GetIcmpv6 ();
98
  	m_ndCache = icmpv6->CreateCache (m_device, this);
99
  }
102
}
100
}
103
101
104
void Ipv6Interface::SetNode (Ptr<Node> node)
102
void Ipv6Interface::SetNode (Ptr<Node> node)

Return to bug 757