gnrc_pktdump: add GNRC_NETTYPE_IPV6_EXT output

This commit is contained in:
Martine Lenders 2018-11-13 17:58:52 +01:00 committed by Martine Lenders
parent 5b31aa3619
commit e06cdcdf14

View File

@ -73,6 +73,12 @@ static void _dump_snip(gnrc_pktsnip_t *pkt)
hdr_len = sizeof(ipv6_hdr_t);
break;
#endif
#ifdef MODULE_GNRC_IPV6_EXT
case GNRC_NETTYPE_IPV6_EXT:
printf("NETTYPE_IPV6_EXT (%i)\n", pkt->type);
od_hex_dump(pkt->data, pkt->size, OD_WIDTH_DEFAULT);
break;
#endif
#ifdef MODULE_GNRC_ICMPV6
case GNRC_NETTYPE_ICMPV6:
printf("NETTYPE_ICMPV6 (%i)\n", pkt->type);