diff --git a/sys/shell/commands/sc_gnrc_netif.c b/sys/shell/commands/sc_gnrc_netif.c index 3b67ce4bed3ca702bd123ba7fe5ff507fb738d58..948ded696cfbc7a78edfe825b375b65b66bf7ae7 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) {