make rx work by upping the interface once it is ready

This commit is contained in:
Mathieu Lacage committed 2007-02-12 19:58:10 +01:00
1 parent 5ecf847cb1
commit 3ce3c88e81
2 files changed
+4 -2

No files matched your search

+1
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