[riot-commits] [RIOT-OS/RIOT] 1ca05f: gnrc_netif_ethernet: fix debug output for received...

Martine Lenders noreply at github.com
Mon Sep 16 19:04:07 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 1ca05f0c0857487e3121e2efd0d1cba6d75ffcb3
      https://github.com/RIOT-OS/RIOT/commit/1ca05f0c0857487e3121e2efd0d1cba6d75ffcb3
  Author: Martine S. Lenders <m.lenders at fu-berlin.de>
  Date:   2019-09-16 (Mon, 16 Sep 2019)

  Changed paths:
    M sys/net/gnrc/netif/ethernet/gnrc_netif_ethernet.c

  Log Message:
  -----------
  gnrc_netif_ethernet: fix debug output for received packet

A received packet is outputted in DEBUG _after_ it was already parsed,
but with a reference to the already parsed header. The result is that
there can be some garbage in the output and the packet is not dumped in
total. As without parsing we do not have access to the header yet, we
use the `gnrc_netif_addr_to_str()` helper function instead of parsing
the destination address by hand.


  Commit: 409e04267ff567635f7baa78446bd374ce114fd9
      https://github.com/RIOT-OS/RIOT/commit/409e04267ff567635f7baa78446bd374ce114fd9
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2019-09-16 (Mon, 16 Sep 2019)

  Changed paths:
    M sys/net/gnrc/netif/ethernet/gnrc_netif_ethernet.c

  Log Message:
  -----------
  Merge pull request #12250 from miri64/gnrc_netif_ethernet/fix/debug-output

gnrc_netif_ethernet: fix debug output for received packet


Compare: https://github.com/RIOT-OS/RIOT/compare/0ae86d7775fe...409e04267ff5


More information about the commits mailing list