From: gnawali Date: Wed, 5 Dec 2007 22:30:57 +0000 (+0000) Subject: logging thl is more useful than logging the destination on RCV X-Git-Tag: release_tinyos_2_1_0_0~642 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=7792ae92d2500d137af6067bd7d0c1a9a9309c90 logging thl is more useful than logging the destination on RCV --- diff --git a/tos/lib/net/ctp/CtpForwardingEngineP.nc b/tos/lib/net/ctp/CtpForwardingEngineP.nc index 55893c7c..38609a4c 100644 --- a/tos/lib/net/ctp/CtpForwardingEngineP.nc +++ b/tos/lib/net/ctp/CtpForwardingEngineP.nc @@ -748,7 +748,7 @@ implementation { call CollectionDebug.logEventMsg(NET_C_FE_RCV_MSG, call CollectionPacket.getSequenceNumber(msg), call CollectionPacket.getOrigin(msg), - call AMPacket.destination(msg)); + thl--); if (len > call SubSend.maxPayloadLength()) { return msg; }