From: sdhsdh Date: Mon, 30 Nov 2009 23:29:15 +0000 (+0000) Subject: re-enable icmp messages X-Git-Tag: rc_6_tinyos_2_1_1~115 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=513ea069504d0c64cad975c22396cf8774d8006a re-enable icmp messages --- 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