X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fnet%2Fblip%2FIPDispatchP.nc;h=746399ef8883fd1faff2df2a5c5a862be968930d;hb=513ea069504d0c64cad975c22396cf8774d8006a;hp=76f192335965c5f7ffd17f00fa300fe226f41471;hpb=ec026c9e6d938b6ef34f8cc1d62386a7ee237860;p=tinyos-2.x.git diff --git a/tos/lib/net/blip/IPDispatchP.nc b/tos/lib/net/blip/IPDispatchP.nc index 76f19233..746399ef 100644 --- a/tos/lib/net/blip/IPDispatchP.nc +++ b/tos/lib/net/blip/IPDispatchP.nc @@ -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