Bugfix in debug message printout

This commit is contained in:
adamdunkels 2009-04-28 14:01:46 +00:00
parent 81ef83b856
commit c9df0ab123

View file

@ -33,7 +33,7 @@
* *
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
* *
* $Id: multihop.c,v 1.4 2009/03/24 07:15:04 adamdunkels Exp $ * $Id: multihop.c,v 1.5 2009/04/28 14:01:46 adamdunkels Exp $
*/ */
/** /**
@ -73,7 +73,8 @@ data_packet_received(struct unicast_conn *uc, rimeaddr_t *from)
PRINTF("data_packet_received from %d.%d towards %d.%d len %d\n", PRINTF("data_packet_received from %d.%d towards %d.%d len %d\n",
from->u8[0], from->u8[1], from->u8[0], from->u8[1],
msg.dest.u8[0], msg.dest.u8[1], packetbuf_addr(PACKETBUF_ADDR_ERECEIVER)->u8[0],
packetbuf_addr(PACKETBUF_ADDR_ERECEIVER)->u8[1],
packetbuf_datalen()); packetbuf_datalen());
if(rimeaddr_cmp(packetbuf_addr(PACKETBUF_ADDR_ERECEIVER), if(rimeaddr_cmp(packetbuf_addr(PACKETBUF_ADDR_ERECEIVER),