From 2ee1d5fca6acd0779bf5f1d53d2096ba1872f4dd Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Fri, 24 Aug 2007 10:33:58 +0200 Subject: [PATCH] the protocol number field is a 16 bit integer, not a 32 bit integer --- src/node/net-device.cc | 2 +- src/node/net-device.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node/net-device.cc b/src/node/net-device.cc index 1ffe6d4b1..e3b9537aa 100644 --- a/src/node/net-device.cc +++ b/src/node/net-device.cc @@ -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; diff --git a/src/node/net-device.h b/src/node/net-device.h index 315f16033..cc93e6420 100644 --- a/src/node/net-device.h +++ b/src/node/net-device.h @@ -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); /**