Add '0x' in front of EUI64 to avoid confusion.
This commit is contained in:
parent
43bff1a7ab
commit
cfa42d3692
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121324
@ -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