1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #8280 from smlng/fix/net/gnrc_pktdump

net: fix output in gnrc_pktdump for ccnl
This commit is contained in:
Martine Lenders 2017-12-19 10:59:34 +01:00 committed by GitHub
commit 3a8a6b4562
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ static void _dump_snip(gnrc_pktsnip_t *pkt)
#ifdef MODULE_CCN_LITE_UTILS
case GNRC_NETTYPE_CCN_CHUNK:
printf("GNRC_NETTYPE_CCN_CHUNK (%i)\n", pkt->type);
printf("Content is: %.*s\n", pkt->size, (char*)pkt->data);
printf("Content is: %.*s\n", (int)pkt->size, (char*)pkt->data);
break;
#endif
#ifdef TEST_SUITES