diff --git a/core/net/rime/collect.h b/core/net/rime/collect.h index bfc695632..95424dea0 100644 --- a/core/net/rime/collect.h +++ b/core/net/rime/collect.h @@ -47,7 +47,7 @@ * * This file is part of the Contiki operating system. * - * $Id: collect.h,v 1.17 2010/06/18 08:28:56 nifi Exp $ + * $Id: collect.h,v 1.18 2010/08/31 13:14:49 nifi Exp $ */ /** @@ -65,10 +65,10 @@ #include "net/rime/neighbor-discovery.h" #include "sys/ctimer.h" -#define COLLECT_PACKET_ID_BITS 4 +#define COLLECT_PACKET_ID_BITS 8 #define COLLECT_ATTRIBUTES { PACKETBUF_ADDR_ESENDER, PACKETBUF_ADDRSIZE }, \ - { PACKETBUF_ATTR_EPACKET_ID, PACKETBUF_ATTR_BIT * 4 }, \ + { PACKETBUF_ATTR_EPACKET_ID, PACKETBUF_ATTR_BIT * COLLECT_PACKET_ID_BITS }, \ { PACKETBUF_ATTR_PACKET_ID, PACKETBUF_ATTR_BIT * COLLECT_PACKET_ID_BITS }, \ { PACKETBUF_ATTR_TTL, PACKETBUF_ATTR_BIT * 4 }, \ { PACKETBUF_ATTR_HOPS, PACKETBUF_ATTR_BIT * 4 }, \