make rx work by upping the interface once it is ready

This commit is contained in:
Mathieu Lacage
2007-02-12 19:58:10 +01:00
parent 5f559b47f8
commit ef8e255fd9
2 changed files with 4 additions and 2 deletions

View File

@@ -79,6 +79,7 @@ InternetNode::SetupLoopback (void)
interface->SetNetworkMask (Ipv4Mask::GetLoopback ());
uint32_t index = m_ipv4->AddInterface (interface);
m_ipv4->AddHostRouteTo (Ipv4Address::GetLoopback (), index);
interface->SetUp ();
}
// Copy this node