]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/blip/IPDispatchP.nc
re-enable icmp messages
[tinyos-2.x.git] / tos / lib / net / blip / IPDispatchP.nc
index 76f192335965c5f7ffd17f00fa300fe226f41471..746399ef8883fd1faff2df2a5c5a862be968930d 100644 (file)
@@ -571,7 +571,7 @@ module IPDispatchP {
       // this is a pointer to the hop-limit field in the packed fragment
       *u_info.hlim = *u_info.hlim - 1;
       if (*u_info.hlim == 0) {
-#ifdef ICMP_TIME_EXCEEDED
+#ifndef NO_ICMP_TIME_EXCEEDED
         uint16_t amount_here = lowmsg->len - (u_info.payload_start - lowmsg->data);
         call ICMP.sendTimeExceeded(ip, &u_info, amount_here);
 #endif