diff --git a/core/net/mac/framer-802154.c b/core/net/mac/framer-802154.c index 46c633d60..7b1621918 100644 --- a/core/net/mac/framer-802154.c +++ b/core/net/mac/framer-802154.c @@ -173,7 +173,7 @@ create(void) frame802154_create(¶ms, packetbuf_hdrptr(), len); PRINTF("15.4-OUT: %2X", params.fcf.frame_type); - PRINTADDR(params.dest_addr.u8); + PRINTADDR(params.dest_addr); PRINTF("%d %u (%u)\n", len, packetbuf_datalen(), packetbuf_totlen()); return len; diff --git a/core/net/mac/sicslowmac.c b/core/net/mac/sicslowmac.c index a9a7e60f0..66fdbeab4 100644 --- a/core/net/mac/sicslowmac.c +++ b/core/net/mac/sicslowmac.c @@ -160,7 +160,7 @@ send_packet(mac_callback_t sent, void *ptr) frame802154_create(¶ms, packetbuf_hdrptr(), len); PRINTF("6MAC-UT: %2X", params.fcf.frame_type); - PRINTADDR(params.dest_addr.u8); + PRINTADDR(params.dest_addr); PRINTF("%u %u (%u)\n", len, packetbuf_datalen(), packetbuf_totlen()); ret = NETSTACK_RADIO.send(packetbuf_hdrptr(), packetbuf_totlen());