[riot-commits] [RIOT-OS/RIOT] 8c77cb: gnrc_pktdump: print rest of snip as hex if availab...

Cenk Gündoğan mail-github at cgundogan.de
Tue May 29 13:32:40 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 8c77cbb903ceb8109102af75f12b76c08bc24e67
      https://github.com/RIOT-OS/RIOT/commit/8c77cbb903ceb8109102af75f12b76c08bc24e67
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2018-05-29 (Tue, 29 May 2018)

  Changed paths:
    M sys/net/gnrc/pktdump/gnrc_pktdump.c

  Log Message:
  -----------
  gnrc_pktdump: print rest of snip as hex if available

Currently, `gnrc_pktdump` only prints the header part of a snip.
However, if the snip wasn't parsed yet by the corresponding GNRC
module (or the module doesn't exist because the node is e.g. just a
forwarder), additional data might not be printed.

This makes it hard to analyze the data properly (sometimes you not only
want to know where the IPv6 packet is supposed to go, you also want to
know what's in it). So this just prints the rest of the snip as a hex
dump.


  Commit: 5230e7732c1752f98f6b9fdbbceb9fa1d65e03a5
      https://github.com/RIOT-OS/RIOT/commit/5230e7732c1752f98f6b9fdbbceb9fa1d65e03a5
  Author: Cenk Gündoğan <mail-github at cgundogan.de>
  Date:   2018-05-29 (Tue, 29 May 2018)

  Changed paths:
    M sys/net/gnrc/pktdump/gnrc_pktdump.c

  Log Message:
  -----------
  Merge pull request #9188 from miri64/gnrc_pktdump/enh/print-rest

gnrc_pktdump: print rest of snip as hex if available


Compare: https://github.com/RIOT-OS/RIOT/compare/e0c50e41bbfd...5230e7732c17
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the commits mailing list