diff --git a/sys/shell/commands/sc_gnrc_netif.c b/sys/shell/commands/sc_gnrc_netif.c index a124f9ca36a491b97dfbbcb54a6ca8a2ff3d44f0..3ac38908c274fceca34fcf5233601497071d0451 100644 --- a/sys/shell/commands/sc_gnrc_netif.c +++ b/sys/shell/commands/sc_gnrc_netif.c @@ -505,6 +505,11 @@ static void _netif_list(kernel_pid_t iface) line_thresh); line_thresh = _netif_list_flag(iface, NETOPT_CHANNEL_HOP, "CHAN_HOP", line_thresh); + res = gnrc_netapi_get(iface, NETOPT_MAX_PACKET_SIZE, 0, &u16, sizeof(u16)); + if (res > 0) { + printf("L2-PDU:%" PRIu16 " ", u16); + line_thresh++; + } #ifdef MODULE_GNRC_IPV6 res = gnrc_netapi_get(iface, NETOPT_MAX_PACKET_SIZE, GNRC_NETTYPE_IPV6, &u16, sizeof(u16)); if (res > 0) {