projects
/
platform
/
upstream
/
toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60cdc06
)
ifconfig MAC addresses should be lowercase.
author
Elliott Hughes
<enh@google.com>
Fri, 10 Jul 2015 18:53:39 +0000
(13:53 -0500)
committer
Rob Landley
<rob@landley.net>
Fri, 10 Jul 2015 18:53:39 +0000
(13:53 -0500)
A minor nit, but for some reason this really stands out every time I
run ifconfig...
toys/other/ifconfig.c
patch
|
blob
|
history
diff --git
a/toys/other/ifconfig.c
b/toys/other/ifconfig.c
index
6ee01c4
..
948043e
100644
(file)
--- a/
toys/other/ifconfig.c
+++ b/
toys/other/ifconfig.c
@@
-123,7
+123,7
@@
static void display_ifconfig(char *name, int always, unsigned long long val[])
xprintf("%-9s Link encap:%s ", name, types[i].title);
if(i >= 0 && ifre.ifr_hwaddr.sa_family == ARPHRD_ETHER) {
xprintf("HWaddr ");
- for (i=0; i<6; i++) xprintf(":%02
X
"+!i, ifre.ifr_hwaddr.sa_data[i]);
+ for (i=0; i<6; i++) xprintf(":%02
x
"+!i, ifre.ifr_hwaddr.sa_data[i]);
}
xputc('\n');