the protocol number field is a 16 bit integer, not a 32 bit integer

This commit is contained in:
Mathieu Lacage
2007-08-24 10:33:58 +02:00
parent d8b046a69f
commit 2ee1d5fca6
2 changed files with 2 additions and 2 deletions

View File

@@ -197,7 +197,7 @@ NetDevice::GetChannel (void) const
// Receive packets from below
bool
NetDevice::ForwardUp(const Packet& p, uint32_t param, const Address &from)
NetDevice::ForwardUp(const Packet& p, uint16_t param, const Address &from)
{
bool retval = false;

View File

@@ -251,7 +251,7 @@ public:
* forwards it to the higher layers by calling this method
* which is responsible for passing it up to the Rx callback.
*/
bool ForwardUp (const Packet& p, uint32_t param, const Address &address);
bool ForwardUp (const Packet& p, uint16_t param, const Address &address);
/**