consitify the API a bit
This commit is contained in:
1 parent
48d1219f5c
commit
1b62aa5a79
6 files changed
+9
-7
No files matched your search
@@ -171,7 +171,7 @@ NetDevice::DisablePointToPoint (void)
|
||||
|
||||
// Receive packet from above
|
||||
bool
|
||||
NetDevice::Send(Packet& p, const Address& dest, uint16_t protocolNumber)
|
||||
NetDevice::Send(const Packet& p, const Address& dest, uint16_t protocolNumber)
|
||||
{
|
||||
if (m_isUp)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user