mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #2651 from haukepetersen/ng_fix_scnetif
shell/sc_netif: added '0x' to output of PAN ID
This commit is contained in:
commit
f23d75cae9
@ -168,7 +168,7 @@ void _netif_list(kernel_pid_t dev)
|
||||
res = ng_netapi_get(dev, NETCONF_OPT_NID, 0, &u16, sizeof(u16));
|
||||
|
||||
if (res >= 0) {
|
||||
printf(" NID: %" PRIx16 " ", u16);
|
||||
printf(" NID: 0x%" PRIx16 " ", u16);
|
||||
}
|
||||
|
||||
printf("\n ");
|
||||
@ -184,7 +184,7 @@ void _netif_list(kernel_pid_t dev)
|
||||
res = ng_netapi_get(dev, NETCONF_OPT_SRC_LEN, 0, &u16, sizeof(u16));
|
||||
|
||||
if (res >= 0) {
|
||||
printf("Source address length: %" PRIx16 "\n ", u16);
|
||||
printf("Source address length: %" PRIu16 "\n ", u16);
|
||||
}
|
||||
|
||||
/* TODO: list IPv6 info */
|
||||
|
Loading…
Reference in New Issue
Block a user