[riot-notifications] [RIOT] net/ng_udp: mark received payload as NETTYPE_UNDEF (#3232)

Hauke Petersen notifications at github.com
Mon Jun 22 16:41:45 CEST 2015


When receiving UDP packets, the payload is still marked as `NG_NETTYPE_UDP` after the header was separated. This leads to `pktdump` trying to parse the output of the UDP payload as UDP header, ending up in outputting useless stuff (or worse). This PR should fix this.
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/3232

-- Commit Summary --

  * net/ng_udp: mark received payload as NETTYPE_UNDEF

-- File Changes --

    M sys/net/transport_layer/ng_udp/ng_udp.c (3)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/3232.patch
https://github.com/RIOT-OS/RIOT/pull/3232.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3232
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150622/c5328605/attachment-0001.html>


More information about the notifications mailing list