Add '0x' in front of EUI64 to avoid confusion.
This commit is contained in:
parent
5a35d3b764
commit
2f7e12f3f8
@ -99,10 +99,10 @@ list_dev(int fd)
|
||||
|
||||
data = get_dev(fd);
|
||||
printf("%d devices (info_len=%d)\n", data->n, data->info_len);
|
||||
printf("node EUI64 status\n");
|
||||
printf("node EUI64 status\n");
|
||||
for (i = 0; i < data->info_len; i++) {
|
||||
devinfo = &data->dev[i];
|
||||
printf("%4d %08x%08x %6d\n",
|
||||
printf("%4d 0x%08x%08x %6d\n",
|
||||
(devinfo->status || i == 0) ? devinfo->dst : -1,
|
||||
devinfo->eui.hi,
|
||||
devinfo->eui.lo,
|
||||
|
Loading…
Reference in New Issue
Block a user