Use propagation loss

This commit is contained in:
Tim Schubert 2020-08-07 12:42:53 +02:00
parent 9fdd70166c
commit 582d6c58d0
6 changed files with 14 additions and 18 deletions

View file

@ -578,15 +578,11 @@ MockNetDevice::AddLinkChangeCallback (Callback<void> callback)
m_linkChangeCallbacks.ConnectWithoutContext (callback);
}
//
// This is a point-to-point device, so every transmission is a broadcast to
// all of the devices on the network.
//
bool
MockNetDevice::IsBroadcast (void) const
{
NS_LOG_FUNCTION (this);
return true;
return false;
}
//
@ -605,7 +601,7 @@ bool
MockNetDevice::IsMulticast (void) const
{
NS_LOG_FUNCTION (this);
return true;
return false;
}
Address