]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Call is needed.
authorscipio <scipio>
Wed, 18 Apr 2007 17:11:29 +0000 (17:11 +0000)
committerscipio <scipio>
Wed, 18 Apr 2007 17:11:29 +0000 (17:11 +0000)
tos/lib/net/lqi/LqiForwardingEngineP.nc

index d16baf6bf3c5426775c1a9b33a79f74edf826930..c52e80b412467859b2155afc82445ace9d04cc04 100644 (file)
@@ -271,7 +271,7 @@ implementation {
       dbg("LQI,LQIDeliver", "LQI Root is receiving packet from node %hu @%s\n", getHeader(msg)->originaddr, sim_time_string());
       return signal Receive.receive[id](msg, payload, len);
     }
-    else if (call AMPacket.destination(msg) != AMPacket.address()) {
+    else if (call AMPacket.destination(msg) != call AMPacket.address()) {
       return msg;
     }
     else if (signal Intercept.forward[id](msg, payload, len)) {