diff --git a/sys/net/transport_layer/ng_udp/ng_udp.c b/sys/net/transport_layer/ng_udp/ng_udp.c index aaff2c80b3..da45b11284 100644 --- a/sys/net/transport_layer/ng_udp/ng_udp.c +++ b/sys/net/transport_layer/ng_udp/ng_udp.c @@ -114,6 +114,9 @@ static void _receive(ng_pktsnip_t *pkt) ng_pktbuf_release(pkt); return; } + /* mark payload as Type: UNDEF */ + pkt->type = NG_NETTYPE_UNDEF; + /* get explicit pointer to UDP header */ hdr = (ng_udp_hdr_t *)udp->data; LL_SEARCH_SCALAR(pkt, ipv6, type, NG_NETTYPE_IPV6);