Skip to content

Commit

Permalink
Merge pull request #12355 from leandrolanzieri/pr/ifconfig_using_netif
Browse files Browse the repository at this point in the history
shell/gnrc_netif: Use netif API for ifconfig
  • Loading branch information
smlng authored Nov 29, 2019
2 parents 56a2344 + cb28400 commit 6ae8ffb
Show file tree
Hide file tree
Showing 4 changed files with 212 additions and 194 deletions.
2 changes: 1 addition & 1 deletion sys/include/net/netopt.h
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ typedef enum {
NETOPT_DEVICE_TYPE,

/**
* @brief (uint8_t) channel page as defined by IEEE 802.15.4
* @brief (uint16_t) channel page as defined by IEEE 802.15.4
*/
NETOPT_CHANNEL_PAGE,

Expand Down
1 change: 0 additions & 1 deletion sys/net/gnrc/netif/_netif.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ int netif_get_name(netif_t *iface, char *name)
gnrc_netif_t *netif = (gnrc_netif_t*) iface;

int res = 0;
res += fmt_str(name, "if");
res += fmt_u16_dec(&name[res], netif->pid);
name[res] = '\0';
return res;
Expand Down
Loading

0 comments on commit 6ae8ffb

Please sign in to comment.