From b228e1a936522fc779f4c6af305c6e2f46ee790a Mon Sep 17 00:00:00 2001 From: Sebastian Sontberg Date: Sun, 19 Apr 2015 16:46:32 +0200 Subject: [PATCH] pktdump: fix formatting of snip dumps --- sys/net/crosslayer/ng_pktdump/ng_pktdump.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/net/crosslayer/ng_pktdump/ng_pktdump.c b/sys/net/crosslayer/ng_pktdump/ng_pktdump.c index fa9b5221a6..bdb5c785bb 100644 --- a/sys/net/crosslayer/ng_pktdump/ng_pktdump.c +++ b/sys/net/crosslayer/ng_pktdump/ng_pktdump.c @@ -100,7 +100,7 @@ static void _dump_snip(ng_pktsnip_t *pkt) #endif #ifdef MODULE_NG_SIXLOWPAN case NG_NETTYPE_SIXLOWPAN: - printf("NETTYPE_SIXLOWPAN (%i)", pkt->type); + printf("NETTYPE_SIXLOWPAN (%i)\n", pkt->type); break; #endif #ifdef MODULE_NG_IPV6 @@ -111,27 +111,27 @@ static void _dump_snip(ng_pktsnip_t *pkt) #endif #ifdef MODULE_NG_ICMPV6 case NG_NETTYPE_ICMPV6: - printf("NETTYPE_ICMPV6 (%i)", pkt->type); + printf("NETTYPE_ICMPV6 (%i)\n", pkt->type); break; #endif #ifdef MODULE_NG_TCP case NG_NETTYPE_TCP: - printf("NETTYPE_TCP (%i)", pkt->type); + printf("NETTYPE_TCP (%i)\n", pkt->type); break; #endif #ifdef MODULE_NG_UDP case NG_NETTYPE_UDP: - printf("NETTYPE_UDP (%i)", pkt->type); + printf("NETTYPE_UDP (%i)\n", pkt->type); break; #endif #ifdef TEST_SUITES case NG_NETTYPE_TEST: - printf("NETTYPE_TEST (%i)", pkt->type); + printf("NETTYPE_TEST (%i)\n", pkt->type); od_hex_dump(pkt->data, pkt->size, OD_WIDTH_DEFAULT); break; #endif default: - printf("NETTYPE_UNKNOWN (%i)", pkt->type); + printf("NETTYPE_UNKNOWN (%i)\n", pkt->type); od_hex_dump(pkt->data, pkt->size, OD_WIDTH_DEFAULT); break; }