]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Remove LinkSrcPacket.nc.
authorscipio <scipio>
Thu, 8 Feb 2007 00:23:56 +0000 (00:23 +0000)
committerscipio <scipio>
Thu, 8 Feb 2007 00:23:56 +0000 (00:23 +0000)
tos/lib/net/ctp/CtpRoutingEngineP.nc

index 9ffbf6c6681b877c419c787c29abbab54daf176c..5c6faeb01ef3a4e360d0f4563f847cbd7abb882a 100644 (file)
@@ -107,7 +107,6 @@ generic module CtpRoutingEngineP(uint8_t routingTableSize, uint16_t minInterval,
         interface Receive as BeaconReceive;
         interface LinkEstimator;
         interface AMPacket;
-        interface LinkSrcPacket;
         interface SplitControl as RadioControl;
         interface Timer<TMilli> as BeaconTimer;
         interface Timer<TMilli> as RouteTimer;
@@ -477,7 +476,7 @@ implementation {
         }
         
         //need to get the am_addr_t of the source
-        from = call LinkSrcPacket.getSrc(msg);
+        from = call AMPacket.source(msg);
         rcvBeacon = (ctp_routing_header_t*)payload;
 
         congested = call CtpRoutingPacket.getOption(msg, CTP_OPT_ECN);