diff options
author | Elliott Hughes <enh@google.com> | 2015-07-10 13:53:39 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-07-10 13:53:39 -0500 |
commit | f380d139397dd3cd2bcc5df0330304ab1ceded1e (patch) | |
tree | f9d16eaa4ae4c8132cc9f45488ed2106db5a5071 /toys | |
parent | 60cdc06c4825de7688a3879892bf442e0e2f282a (diff) | |
download | toybox-f380d139397dd3cd2bcc5df0330304ab1ceded1e.tar.gz |
ifconfig MAC addresses should be lowercase.
A minor nit, but for some reason this really stands out every time I
run ifconfig...
Diffstat (limited to 'toys')
-rw-r--r-- | toys/other/ifconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/ifconfig.c b/toys/other/ifconfig.c index 6ee01c40..948043e2 100644 --- 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(":%02X"+!i, ifre.ifr_hwaddr.sa_data[i]); + for (i=0; i<6; i++) xprintf(":%02x"+!i, ifre.ifr_hwaddr.sa_data[i]); } xputc('\n'); |