merge with trunk
This commit is contained in:
@@ -535,8 +535,7 @@ GlobalRouter::GetLSA (uint32_t n, GlobalRouterLSA &lsa) const
|
||||
GlobalRouter::GetAdjacent(Ptr<NetDevice> nd, Ptr<Channel> ch) const
|
||||
{
|
||||
|
||||
uint32_t nDevices = ch->GetNDevices();
|
||||
NS_ASSERT_MSG(nDevices == 2,
|
||||
NS_ASSERT_MSG(ch->GetNDevices() == 2,
|
||||
"GlobalRouter::GetAdjacent (): Channel with other than two devices");
|
||||
//
|
||||
// This is a point to point channel with two endpoints. Get both of them.
|
||||
|
||||
Reference in New Issue
Block a user